Skip to main content

Verify that a Manufacturing Order's components and workorder are consistent with its Bill of Materials.

Project description

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

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_mrp_production_check_bom_alignment-18.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mrp_production_check_bom_alignment-18.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd071269b98dca0cc993e3ff25b27aceac4a8edc976dc6d761a187b3676169b1
MD5 c3fa9f77e1f3707e19fba4049fe6fd5b
BLAKE2b-256 d0d7157d9ff5f517115c9160ea867a6cc404e6c316c00baf9abf85c7bde54924

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page