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

Module: MRP Subcontracting

Entity: mrp.production

Compute Method: _compute_bom_product_ids

Inputs Method Outputs
  • bom_id
  • bom_id.bom_line_ids
  • bom_id.bom_line_ids.product_id
for production in self:
            production.bom_product_ids = production.bom_id.bom_line_ids.product_id

Back to entity