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_matched_invoice_count

Inputs Method Outputs
for line in self:
            line.matched_invoice_count = len(line.invoice_lines.move_id)

Back to entity