MRP Production Unique Lot
mrp_production_unique_lot · OCA/manufacture
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module enforces that each Manufacturing Order (MO) has a unique lot number for its finished products.
A lot generated by one MO cannot be reused in another MO, and this constraint is applied when validating the production.
Additionally, to improve user usability, the domain of the lot_producing_ids field has been updated to ensure only lot numbers that have not been used are selectable, only in case the product is tracked by lots.
In Odoo 20.0, lots created from the manufacturing order have no company, so lots without a company are also proposed on the manufacturing order.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mrp_production_form_view_unique_lot |
mrp.production.form.unique.lot | mrp.production | form | Inherits mrp.mrp_production_form_view |
view_picking_type_form_inherit_mrp_unique_lot |
Operation Types - Unique Production Lot | stock.picking.type | form | Inherits mrp.view_picking_type_form_inherit_mrp |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
allowed_lot_producing_idsMany2many → stock.lotcompute='_compute_allowed_lot_producing_ids'string='Allowed Lot/Serial Numbers' args: 'stock.lot' -
force_lot_uniquenessBooleanrelated='picking_type_id.force_production_lot_uniqueness'
No public methods.
-
force_production_lot_uniquenessBooleanhelp='If checked, each Manufacturing Order (MO) will have a unique lot number for its finished products. Therefore, lot numbers that have already been used in an MO cannot be reused.'
No public methods.
Loading…
Loading…