Mrp Unbuild Tracked Raw Material
Odoo has a limitation on tracked product's components which are not manufactured in the ERP.
When you try to do it, you get this warning:
Some of your components are tracked, you have to specify a manufacturing order in order to retrieve the correct components.
Unfortunately, it doesn't cover all the use cases.
Example: You receive eggs and you want to unbuild them in 2 parts:
- yellow part
- white part
Each of the parts are tracked and not linked to a previous manufacturing order because, you don't build the eggs yourself, you subcontract it to a chicken.
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Lets you unbuild tracked products that were purchased rather than manufactured, by ticking a new option on the product. Odoo then creates the needed lot numbers automatically instead of blocking the unbuild.
Normally, when you try to unbuild a product whose components are tracked, Odoo refuses and asks you to link the unbuild to an original manufacturing order. This module removes that dead end for products you bought instead of made.
On the product form, in the Inventory/stock properties section, a new checkbox 'Unbuild Purchased' appears for tracked products. When it is ticked, Odoo no longer assumes a previous manufacturing order built the product.
When you run an unbuild on such a product, Odoo proceeds instead of raising the usual warning. It records the consumed quantities, and for tracked produced components it automatically creates new lot numbers (named with the current date) so the unbuild can be completed. Serial-tracked produced components are not supported and raise a clear error message.
If the option is not ticked, the original warning is shown together with an extra hint telling you that you can unbuild the tracked product by setting it as 'Unbuild Purchased'. A note is also posted on the unbuild record saying the product was unbuilt without a previous manufacturing order.
This affects the product.template and mrp.unbuild models and the product form view.
Depends on
Models and fields (2)
- mrp.unbuild · extends an existing model
- product.template · extends an existing modelallow_unbuild_purchased
Text generated by AI (DeepSeek) from reading the Odoo 13.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/manufacture.
terminal Installation and usage
OCA documentation · Odoo 13.0Configuration
Source · Odoo 13.0Customize method _prepare_lots_for_purchased_unbuild() to define your own data lot
Usage
Source · Odoo 13.0Check 'Allow Unbuild Purchased' field in Inventory tab on product form for any product with a bom you didn't manufactured but you want unbuild.
Go to Manufacturing > Operations > Unbuild Orders
Encode an unbuild order with the product used in first step
No verified information in OCA: Installation.
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.