Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Delivery Costs

Entity: delivery.carrier

Compute Method: _compute_supports_cash_on_delivery

Inputs Method Outputs
for carrier in self:
            carrier.supports_cash_on_delivery = carrier.delivery_type in {"base_on_rule", "fixed"}

Back to entity