Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:49
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, Joan Sisquella
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
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)

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_cancel_view_form sale.order.cancel.form.no.email sale.order.cancel form Inherits sale.sale_order_cancel_view_form
sale_order_view_form sale.order.form.cancel.no.email sale.order form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (0)

No models found for this module.