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_show_serial_mass_produce
| Inputs | Method | Outputs |
|---|---|---|
|
- self.show_serial_mass_produce = False - for order in self: - if order.state in ['confirmed', 'progress', 'to_close'] and order.product_id.tracking == 'serial' and \ - float_compare(order.product_qty, 1, precision_rounding=order.product_uom_id.rounding) > 0 and \ - float_compare(order.qty_producing, order.product_qty, precision_rounding=order.product_uom_id.rounding) < 0: - order.show_serial_mass_produce = True |
|
