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_lot_ids
| Inputs | Method | Outputs |
|---|---|---|
|
for order in self: - order.show_lot_ids = order.state != 'draft' and any(m.product_id.tracking != 'none' for m in order.move_raw_ids) + order.show_lot_ids = order.state != 'draft' and any(m.product_id.tracking in ['lot', 'serial'] for m in order.move_raw_ids) |
|
