Stock moves of manufacturing orders added to unbuild orders
This module associates the id of the stock move of a manufacturing order to the stock move created from its unbuild order
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a link on stock moves created by unbuild orders back to the original manufacturing order stock move, so you can trace which manufacturing move an unbuild move came from.
When you unbuild a manufactured product, Odoo creates new stock moves for the components coming back into stock. This module records, on each of those new moves, which stock move of the original manufacturing order it was generated from.
- A new field "Manufacturing order stock move" appears on the stock move form, right after the procurement method field. It points to the related stock move of the previous manufacturing order.
- The link is filled in automatically when the unbuild order generates its moves; no manual entry is needed.
- The field is company-restricted, so a move can only be linked to a move belonging to the same company.
It touches the stock.move model (extended with the new field) and the mrp.unbuild model (extended so the link is set during move generation). The only screen change is the stock move form view, which is inherited from the standard stock move form.
This is useful for traceability and reporting: from an unbuild move you can jump to the manufacturing move it originated from, and vice versa. No new menus, reports, scheduled jobs or validation rules are added by the code shown.
Depends on
Models and fields (1)
- stock.move · extends an existing modelorigin_mrp_manufacture_move_id (Manufacturing order stock move)
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
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.