OdooWiki OCA HUB

MRP BOM Warn Message OCA

mrp_bom_warn_message_oca folder_open OCA/manufacture open_in_new
MRP License: AGPL-3

This module allows to configure a warning on manufacturing orders when a bill of materials is selected

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you set a warning message on a bill of materials that pops up and is displayed on manufacturing orders when that bill of materials is selected.

This module adds a warning system to bills of materials (BOMs) in the Manufacturing app.

On a bill of materials form, a new "Warning" tab lets you choose a "Production Warnings" option: "No Message" or "Warning". If you pick "Warning", you must write the warning text in the "Message for Production Warn" field. Only users in the dedicated "A warning can be set on a MRP BOM (MRP)" group can edit these fields; other users see them read-only.

When a manufacturing order uses a BOM that has a warning, the message is shown in an alert banner at the top of the manufacturing order form. The message is only shown while the order is not done or cancelled.

Selecting such a BOM on a manufacturing order also triggers a pop-up warning dialog titled "Warning of MRP BOM" containing the message, so the user is alerted immediately.

It touches the mrp.bom and mrp.production models and adds fields and views to their forms.

Depends on

mrp
Models and fields (2)
  • mrp.bom · extends an existing modelproduction_warn (Production Warnings), production_warn_msg (Message for Production Warn)
  • mrp.production · extends an existing modelproduction_warn_msg (Production Warning Message)

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

To configure this module, you need to:

  • Go to MRP / Products / Bills of materials.
  • On the bill form, go to the Warning section and configure the warning message

To use this module, you need to:

  • Create a manufacturing order with a bill of materials that has a configured warning
  • You will see a warning on the form header if the order is not done or cancelled
  • If you manually create the order, you will also see a warning popup

No verified information in OCA: Installation.

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.