OdooWiki OCA HUB

Sale Warn Option

sale_warn_option folder_open OCA/sale-workflow open_in_new
Sales/Sales License: LGPL-3

This module extends the functionality of Customer and Product blocking messages to support more consistency between messages and to allow you to set a blocking message quickly.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you pick a ready-made warning message for a customer or a product on sales orders, instead of typing the text each time. The chosen option automatically fills the warning message field.

This module adds a quick way to fill in sales warning messages on customers and products.

  • On a customer form, when a sales warning is set (not "no message"), a new "warning option" field appears next to the warning message. Choosing an option automatically writes its text into the warning message.
  • On a product form, the same happens for the sales warning: a warning option field appears and fills the product's sales warning message.

The list of available options is managed in the warning options configuration (from the base warning options module). This module adds two new usages for those options: "(Partner) Warning on the Sales Order" and "(Product) Warning when Selling this Product". Only options matching the selected warning type and the relevant usage are offered.

It touches the customer (res.partner), product (product.template) and warning option (warn.option) records. No new menus or reports are added; the fields appear directly on the existing customer and product forms. The module installs automatically when its dependencies are present.

Depends on

Models and fields (3)
  • res.partner · extends an existing modelsale_warn_option
  • warn.option · extends an existing modelallowed_warning_usage
  • product.template · extends an existing modelsale_line_warn_option

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

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Go to Sales App > Configuration Menu > Settings
  • Under _Quotations & Orders_ check Sale Warnings checkbox.
  • Go to a Customer > Internal Notes Tab
  • Select Warn Options under _Warning on the Sales Order_
  • Go to a Product > Sales Tab
  • Select Warn Options under _Warning when Selling this Product_

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.