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

Module: Sales

Entity: sale.order

Compute Method: _compute_amount_to_invoice

Inputs Method Outputs
for order in self:
            order.amount_to_invoice = sum(order.order_line.mapped('amount_to_invoice'))

Back to entity