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: purchase.order

Compute Method: _compute_repair_count

Inputs Method Outputs
for purchase in self:
            purchase.repair_count = len(purchase._get_linked_repair_orders())

Back to entity