OdooWiki OCA HUB

MRP Production Check BoM Alignment

mrp_production_check_bom_alignment folder_open OCA/manufacture open_in_new
Manufacturing License: LGPL-3

This module checks that a Manufacturing Order's components, by-products, and operations are consistent with its current Bill of Materials.

Eight alignment checks are performed:

  • Components — the set of BoM lines linked to the MO's raw moves matches the BoM exactly (no added or removed lines).
  • Operations — the set of operations in the MO's work orders matches the BoM's operation list exactly.
  • Work order name and work center — each work order's name and work center match its operation in the BoM (an alternative work center of the operation is accepted).
  • Component quantities — each raw move's demand quantity matches the BoM line quantity scaled to the MO production quantity.
  • Consumed in Operation — each raw move's operation (recorded on the move when the MO was created) matches the current "Consumed in Operation" defined on its BoM line.
  • By-products — the set of BoM by-products linked to the MO's finished moves matches the BoM exactly (no added or removed by-products).
  • By-product quantities — each by-product move's demand quantity matches the BoM by-product quantity scaled to the MO production quantity.
  • Produced in Operation — each by-product move's operation matches the current "Produced in Operation" defined on its BoM by-product.

When a misalignment is detected:

  • A warning banner is shown at the top of the Manufacturing Order form for any MO that is not yet done or cancelled.
  • When confirming a misaligned MO, a dialog is shown giving the user the choice to fix it, go back or confirm it anyway.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Warns you when a Manufacturing Order no longer matches its Bill of Materials, and lets you update the order or confirm it anyway before production starts.

When you confirm a Manufacturing Order, this module compares it with its current Bill of Materials. If components, quantities, operations, work centers or by-products differ, Odoo stops the confirmation and shows a warning pop-up instead.

The Manufacturing Order form also displays a permanent warning banner as soon as a mismatch is detected, so you can spot it before confirming. The banner disappears once the order is done or cancelled.

What is compared: - The components listed on the order versus the Bill of Materials lines (added or removed lines). - Each component's quantity versus the Bill of Materials quantity scaled to the order quantity. - The "Consumed in Operation" set on each component. - The operations and work orders, including each work order's name and work center (alternative work centers are accepted). - The by-products and their quantities and "Produced in Operation".

When a mismatch is found, the pop-up lists the affected Manufacturing Orders and offers three buttons: "Update MO and Confirm" (refreshes the order from the Bill of Materials, then confirms), "Confirm Anyway" (confirms without changes) and "Go Back".

This affects Manufacturing Orders (mrp.production) and adds a small warning screen. No scheduled jobs or emails are involved.

Depends on

mrp
Models and fields (2)
  • mrp.production · extends an existing modelbom_alignment_warning
  • mrp.bom.alignment.warning · new modelmrp_production_ids, mrp_production_count, mrp_production_names

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 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

OCA documentation · Odoo 18.0

The alignment check runs automatically — no manual configuration is required.

Warning banner

Open any Manufacturing Order that is not yet done or cancelled. If the MO's components, quantities, or consumed-in-operation assignments no longer match the linked BoM (for example, because the BoM was updated after the MO was confirmed), a yellow warning banner is displayed at the top of the form explaining what is out of sync.

Confirmation dialog

When confirming a draft MO whose components or quantities are not aligned with the BoM, a dialog is shown with three options:

  • Update MO and Confirm — re-syncs the MO with the current BoM (equivalent to the standard Update BoM action) and then confirms it. Use this when the BoM change is intentional and the MO should reflect it.
  • Confirm Anyway — confirms the MO as-is, ignoring the misalignment.
  • Go Back — closes the dialog and returns to the MO so it can be reviewed or manually corrected before confirming.

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.