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.bom.line

Compute Method: _compute_child_line_ids

View 18.0
Inputs Method Outputs
  • child_bom_id
  • child_bom_id.bom_line_ids
  • child_bom_id.bom_line_ids.ids
- """ If the BOM line refers to a BOM, return the ids of the child BOM lines """
- for line in self:
-             line.child_line_ids = line.child_bom_id.bom_line_ids.ids or False
  • child_line_ids

Back to entity