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()) + purchase.repair_count = len(purchase.order_line.move_dest_ids.repair_id) |
|
