OdooWiki OCA HUB

Bill of Materials comparison

mrp_bom_comparison folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

This module allows you to compare two Bill of Materials to view the differences.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Compare two Bills of Materials side by side and see which components were added, removed or changed in quantity, then print a PDF report of the differences.

This module adds a comparison tool for Bills of Materials (BoM) in the Manufacturing area. From a Bill of Materials record you can open a small "Compare Bill of Materials" window, choose a first BoM (BoM v1) and a second one (BoM v2), and press the Compare button.

Odoo then analyses both structures, including the sub-assemblies, and lists the differences grouped in three sections: - Products updated: components present in both BoMs whose quantity changed, with the old quantity, the new quantity and the quantity gap. - Products added: components that only exist in the second BoM. - Products removed: components that only exist in the first BoM.

A total quantity gap is computed and shown at the bottom of the report. If nothing differs, the report simply states that no difference was detected.

The result is produced as a PDF report named "BoM Differences", showing the two BoMs compared, the reference and designation of each product, the quantities in each version and the gap, with colour highlighting for updated, added and removed lines.

The comparison window is available from the Bill of Materials screen, and the two BoM fields are limited to versions of the same product, so you compare revisions of one product's BoM.

Depends on

mrp
Models and fields (2)
  • wizard.mrp.bom.comparison · new modelbom1_id, bom2_id, line_ids, total_qty (Total qty), line_added_ids, line_changed_ids, line_removed_ids
  • wizard.mrp.bom.comparison.line · new modelstate, wiz_id, bom1_qty (v1-Qty), bom2_qty (v2-Qty), diff_qty (Qty gap), product_id

Text generated by AI (DeepSeek) from reading the Odoo 12.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/manufacture.

terminal Installation and usage

OCA documentation · Odoo 12.0

First, create two (or more) Bill of Materials on the same product. Then, open the first Bill of Materials, and launch the wizard with Action / Compare Bill of Materials. In the BoM v2 field, select a BoM to compare against the current one, and click on Compare. The result of the comparaison is returned as a PDF report with three sections:

  • products updated
  • products added
  • products removed

No verified information in OCA: Installation, Configuration.

info

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.