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

Module: Purchase

Entity: purchase.order.line

Compute Method: _compute_amount_to_invoice_at_date

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

Back to entity