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: sale.order

Compute Method: _compute_delivery_state

Inputs Method Outputs
  • order_line
for order in self:
            order.delivery_set = any(line.is_delivery for line in order.order_line)

Back to entity