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_mrp_production_all_child_count

Inputs Method Outputs
for production in self:
            all_children = production._get_all_children()
            production.mrp_production_all_child_count = len(all_children)
            production.mrp_production_all_child_done_count = len(all_children.filtered(lambda p: p.state == 'done'))

Back to entity