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.unbuild

Compute Method: _compute_product_id

View 17.0 View 19.0
Inputs Method Outputs
  • mo_id
  • mo_id.product_id
+ for order in self:
+             if order.mo_id and order.mo_id.product_id:
+                 order.product_id = order.mo_id.product_id
  • product_id

Back to entity