This module transfers the owner_id from the source MO to a newly created MO that is generated based on the stock rule.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0When Odoo automatically creates a manufacturing order to replenish a product, this module copies the owner of the original manufacturing order onto the new one, so owner-restricted stock stays with the right owner.
This module works behind the scenes in Manufacturing. It does not add any new menu, screen or button; it changes how Odoo fills in a manufacturing order that is created automatically by a stock rule (for example, when a component is set to be manufactured to order).
When such an automatic manufacturing order is generated, the module looks at the original manufacturing order that triggered the need and copies its owner onto the new order. This keeps the owner information consistent along the chain of manufacturing orders.
- It only applies when the stock rule is creating a manufacturing order from an existing demand.
- If no original manufacturing order is found, nothing is changed and Odoo behaves as usual.
- The owner is taken from the source manufacturing order and set on the newly created one.
This matters for companies that use owner-restricted stock, where products belong to a specific owner and must not be mixed with other owners' goods. Without this module, the new manufacturing order would be created without an owner, which could break the owner restriction rules provided by the module it depends on. The change touches the stock.rule model and its preparation of manufacturing order values.
Depends on
Models and fields (1)
- stock.rule · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/manufacture.
terminal Installation and usage
No verified informationInstallation 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.