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

Module: Manufacturing

Entity: mrp.production

Compute Method: _compute_remaining_time

View 20.0
Inputs Method Outputs
  • workorder_ids
+ for production in self:
+             production.remaining_time = sum(production.workorder_ids.mapped('remaining_time'))
  • remaining_time

Back to entity