This module adapts the functionality of stock_owner_restriction in the manufacturing order.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds an owner field to manufacturing orders so produced goods can be assigned to a specific partner, and keeps that owner consistent through unbuild and stock moves.
This module extends manufacturing orders with an "Assign Owner" field, visible on the manufacturing order form. The owner can be set while the order is in draft or confirmed state; afterwards it becomes read-only. The help text states that produced products will be assigned to this owner.
The owner restriction setting is taken from the operation type used by the manufacturing order, so the same rules that apply to regular stock operations also apply here.
When you unbuild a manufacturing order, the module carries the owner over: if the original order has an owner and the restriction mode is either "unassigned owner" or "picking partner", the unbuild validation forces that owner onto the resulting moves.
Stock moves linked to manufacturing are also adjusted. Moves for raw materials take the owner from their manufacturing order, while finished-product moves do not. Moves that feed another manufacturing order, or that come from unbuilding an order, inherit the owner and the owner restriction of the related manufacturing order.
Finally, when a detailed stock move line is completed, if its move belongs to a manufacturing order with an owner, or if a forced owner is present in the context, the move's restricted partner and the line's owner are both set to that owner. This keeps ownership consistent from production through to the actual stock movements.
Depends on
Required by other modules
Models and fields (4)
- stock.move · extends an existing model
- mrp.unbuild · extends an existing model
- mrp.production · extends an existing modelowner_id, owner_restriction
- stock.move.line · 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.