Propagate a specific lot to the Manufacturing Order (on the final product)
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When a manufacturing order is created from a procurement that carries a restricted lot, this module automatically sets that lot as the finished product's lot and names the order after the lot.
This module links the lot restriction used in stock rules with manufacturing orders. When a replenishment rule (for example a reordering rule or a sales order procurement) carries a restricted lot, the manufacturing order created from it automatically receives that lot as the lot to produce.
- The lot to produce on the manufacturing order is now computed from the restricted lot set on the finished product's stock move. If you change the lot to produce manually, the restricted lot on the finished move is updated in return.
- When a manufacturing order is generated by a stock rule, its name is set to the lot's name. If another manufacturing order already exists for the same lot, a number is appended to keep names unique.
- When looking for an existing manufacturing order to reuse, the system also filters by the lot to produce, so orders for different lots are not mixed up.
The module touches mrp.production and stock.rule. It does not add new menus or screens; the changes appear directly on manufacturing orders and in the automated creation of manufacturing orders from procurement rules.
Depends on
Models and fields (2)
- stock.rule · extends an existing model
- mrp.production · extends an existing modellot_producing_id
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/manufacture.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0Typically used with module sale_order_lot_generator. - Create a sale order for a product to produce and configured with automatic lot generation. - Confirm the sale order The lot will be affected to the created manufacturing order
Other module than sale_order_lot_generator could implement other uses cases for this module
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.