Skip to content
back to search

OCA/manufacture · 18.0

MRP Production Check BoM Alignment

mrp_production_check_bom_alignment

LGPL-3Manufacturingv18.0.1.0.3262updated 14 days ago

Odoo Community Association

MRP Production Check BoM Alignment

Beta License: LGPL-3 OCA/manufacture Translate me on Weblate Try me on Runboat

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

Seven 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.
  • 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.

Table of contents

Usage

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.

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • ForgeFlow

Contributors

  • Lois Rilo <<lois.rilo@forgeflow.com>>

Maintainers

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.

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

You are welcome to contribute. To learn how please visit <https://odoo-community.org/page/Contribute>.