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.workorder
Compute Method: _compute_qty_to_produce
| Inputs | Method | Outputs |
|---|---|---|
|
+ for wo in self: + if wo.state == 'cancel': # TestMrpWorkorderBackorder.test_mrp_backorder_operations + wo.qty_to_produce = 0 + continue + wo.qty_to_produce = max(wo.qty_production - wo.qty_reported_from_previous_wo, 0) |
|
