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

Module: Purchase Repair

Entity: repair.order

Compute Method: _compute_purchase_count

Inputs Method Outputs
for repair in self:
            repair.purchase_count = len(repair._get_linked_purchase_orders())

Back to entity