Sale Order Cancel Optional Email

sale_order_cancel_optional_email
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_order_cancel_optional_email
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Joan Sisquella
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits sale.sale_order_cancel_view_form
sale_order_view_form sale.order.form.cancel.no.email sale.order xpath Inherits sale.view_order_form
Models touched (0)

No models found for this module.