OdooWiki OCA HUB

Sale Order Warn Message

sale_order_warn_message folder_open OCA/sale-workflow open_in_new
Uncategorised License: AGPL-3

This module adds a warning popup on sale to ensure warning is populated not only when partner is changed.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Shows a warning banner on sale orders when the customer has a sales warning configured, so the warning is always visible and not only when the customer is changed.

This module makes sales warnings visible on the sale order screen itself. It adds a computed field sale_warn_msg on sale.order and displays it as a yellow alert banner at the top of the sale order form, right after the header buttons.

The warning text is built automatically from the customer's warning settings. It looks at the commercial partner (the company the customer belongs to) and, if the customer is a different contact, also at that contact. Only warnings marked as "warning" are included; the two texts are joined together.

The banner only appears while the order is in draft or sent state. Once the order is confirmed or later, the warning message is cleared and the banner disappears.

  • Where it appears: sale order form, in the header area.
  • What triggers it: the customer's sales warning setting and the order status.
  • What users see: a warning banner with the warning text, shown automatically without needing to change the customer.

It touches the sale.order model and the sale order form view only.

Depends on

sale
Models and fields (1)
  • sale.order · extends an existing modelsale_warn_msg

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: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.