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: mrp.production

Compute Method: _compute_repair_count

Inputs Method Outputs
  • move_dest_ids
  • move_dest_ids.repair_id
for production in self:
            production.repair_count = len(production.move_dest_ids.repair_id)

Back to entity