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.line

Compute Method: _compute_amount_to_invoice_at_date

Inputs Method Outputs
for line in self:
            qty_to_invoice = line.product_uom_id._compute_quantity(line.qty_delivered_at_date - line.qty_invoiced_at_date, line.product_id.uom_id)
            line.amount_to_invoice_at_date = qty_to_invoice * line._get_gross_price_unit()

Back to entity