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

Module: Mrp Repairs

Entity: repair.order

Compute Method: _compute_production_count

Inputs Method Outputs
  • reference_ids
  • reference_ids.production_ids
for repair in self:
            repair.production_count = len(repair.reference_ids.production_ids)

Back to entity