Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Allow to unbuild tracked purchased products

Project description

Beta License: AGPL-3 OCA/manufacture Translate me on Weblate Try me on Runbot

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.

Table of contents


Customize method _prepare_lots_for_purchased_unbuild() to define your own data lot


# Check ‘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

Known issues / Roadmap

This module doesn’t take account product allow_unbuild_purchased checked which use serial tracking

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Akretion




This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:


This module is part of the OCA/manufacture project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo12-addon-mrp-unbuild-tracked-raw-material, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo12_addon_mrp_unbuild_tracked_raw_material- (29.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page