OdooWiki OCA HUB

Sale Order Type Confirm Message

sale_order_type_confirm_message folder_open OCA/sale-workflow open_in_new
Sale License: AGPL-3

This module includes a validation step when confirming a sale order.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds an optional confirmation message to sale order types. When a sale order of such a type is confirmed, a popup shows the message and the user must click Confirm before the order is validated.

This module extends the Sale Order Type feature. On each sale order type you can now switch on a new option and write a free-text message (translatable). The option and the message appear on the sale order type form, next to the other type settings.

When a user confirms a sale order whose type has this option enabled, Odoo does not confirm the order immediately. Instead it opens a small popup window showing the configured message, with a Confirm button and a Cancel button. Only after clicking Confirm is the sale order actually validated; cancelling leaves the order unconfirmed.

  • The message is stored per sale order type, so different order types can show different warnings.
  • The popup reads the message from the order's type, so it always shows the current text.
  • The confirmation logic is added to the standard confirm action of sale.order.
  • A technical flag is used internally so that confirming from the popup does not loop back into the popup.

Access rights are granted to the standard sales user group, so regular salespeople can use the popup. No new menus are added; the feature is configured on the existing sale order type screen and triggered from the normal Confirm button on a sale order.

Depends on

Models and fields (3)
  • sale.order · extends an existing model
  • sale.order.type · extends an existing modelconfirmation_message, has_confirmation_message
  • sale.order.type.confirm.wizard · new modelmessage (Message), order_id (Order)

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 configure this module, you need to:

  • Go to Sales > Configuration > Sales Order Types
  • Select a Sale Order Type and toggle the "Has Confirmation Message" button.
  • A Confirmation Message field will apear, fill it to include the text that has to be shown on the confirmation screen.

To use this module, you need to:

  • Create a sales order type with the checkbox "Has Confirmation Message" activated, and assign a message in the "Confirmation Message" field.
  • Once the user tries to validate a sales quotation that has a confirmation message in it's sales order type, a warning popup will be shown.
  • If the user selects the Confirm button, this sales quotation will be confirmed as usual. If the user selects the Cancel button, the popup will be closed and he will go back to the quotation.

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.