TIP: You can type at any time to perform a new search.
Sales Cancel Confirm
sale_cancel_confirm · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Usability
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-11 17:15:18
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- Saran440, Weblate, OCA-git-bot
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module adds an optional free-text reason to Odoo's native sales order cancellation dialog. The reason, user, and date are stored on the cancelled sales order. Unlike `sale_cancel_reason`, which uses a predefined list of reasons, this module lets the user enter the reason as free text. Normally only one of these modules is needed.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings | form | Inherits sale.res_config_settings_view_form | |
sale_order_cancel_view_form |
sale.order.cancel.form.cancel.reason | sale.order.cancel | form | Inherits sale.sale_order_cancel_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
sale_cancel_confirmBooleanhelp='Ask for an optional reason when cancelling a sales order.'string='Sale Cancellation Reason'
No public methods.
New fields (1)
-
sale_cancel_confirmBooleanreadonly=Falserelated='company_id.sale_cancel_confirm'
No public methods.
New fields (1)
-
cancel_confirmBooleandefault=False
-
action_draft(self)
New fields (2)
-
cancel_reasonText -
sale_cancel_confirmBooleanrelated='order_id.company_id.sale_cancel_confirm'
-
action_cancel(self)
Loading…