Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: eCommerce
Entity: website
Compute Method: _compute_enabled_delivery
| Inputs | Method | Outputs |
|---|---|---|
|
- for website in self: - website.enabled_delivery = bool(website.env['delivery.carrier'].sudo().search_count( - [('website_id', 'in', (False, website.id)), ('is_published', '=', True)], limit=1 - )) |
|
