Sale Order Cancel Optional Email
This module changes the default behavior when cancelling a confirmed sales order.
In standard Odoo, when you click "Cancel" on a confirmed sales order, a wizard opens proposing to send an email notification to the customer. This can lead to accidental emails being sent to customers.
With this module installed:
- The Cancel button directly cancels the order without showing any wizard
- A new Send Email and Cancel button is added (secondary style) that opens the wizard when you explicitly want to notify the customer about the cancellation
- The wizard only shows the "Send and cancel" and "Discard" buttons (the redundant "Cancel" button is removed from the wizard)
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Cancel a confirmed sales order in one click without any email wizard, or use the new 'Send Email and Cancel' button when you do want to notify the customer.
This module changes what happens when you cancel a confirmed sales order in Odoo.
Normally, clicking Cancel on a confirmed order opens a wizard that offers to email the customer, which can lead to emails being sent by accident. After installing this module:
- The main Cancel button on the sales order form cancels the order immediately, with no wizard and no email.
- A second button, 'Send Email and Cancel', appears next to it (shown only for orders in the 'sale' or 'sent' states). Use this one when you deliberately want to notify the customer.
- In the cancellation wizard itself, the redundant Cancel button is hidden, so only the send-and-cancel and discard options remain.
The changes are purely on the sales order screen and its cancellation wizard; no new fields, models, or automated rules are added. It touches the sale.order form view and the sale.order.cancel wizard view.
Depends on
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-03Confirmation 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/sale-workflow.
terminal Installation and usage
No verified informationInstallation 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.
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.