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

Module: MRP Package Propagation

Entity: mrp.bom

Compute Method: _compute_display_package_propagation

Inputs Method Outputs
  • type
"""Check if a package can be propagated.

        A package can be propagated from a component to the finished product if
        the type of the BoM is normal (Manufacture this product)
        """
for bom in self:
            bom.display_package_propagation = (
                bom.type in self._get_package_propagation_bom_types()
            )

Back to entity