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

View 18.0
Inputs Method Outputs
+ for purchase in self:
+             purchase.repair_count = len(purchase._get_linked_repair_orders())
  • repair_count

Back to entity