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_is_planned

Inputs Method Outputs
for production in self:
            if production.workorder_ids:
                production.is_planned = all(wo.is_planned for wo in production.workorder_ids if wo.state != 'cancel')
            else:
                production.is_planned = False

Back to entity