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

Compute Method: _compute_reference

Inputs Method Outputs
for line in self:
            line.reference = line.purchase_order_id.display_name or line.account_move_id.display_name

Back to entity