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_lines

View 19.0 View 20.0
Inputs Method Outputs
  • move_finished_ids
  • finished_move_line_ids
for production in self:
            production.finished_move_line_ids = production.move_finished_ids.mapped('move_line_ids')
+             production.finished_move_line_ids.production_id = production
  • finished_move_line_ids
  • finished_move_line_ids.production_id

Back to entity