| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Sales (sale_management) • Discuss (mail) |
| Lines of code | 165 |
| Technical Name |
sf_cancel_sale_order |
| License | LGPL-3 |
| Website | https://www.squadfocus.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Sales (sale_management) • Discuss (mail) |
| Lines of code | 165 |
| Technical Name |
sf_cancel_sale_order |
| License | LGPL-3 |
| Website | https://www.squadfocus.com |
| Versions | 18.0 19.0 |
Cancel Sale Order & Reset to Draft
This module provides a wizard-driven way to cancel Sale Orders in bulk from the list view. Users can choose one of three operations: Cancel Only, Cancel and Reset to Draft, or Cancel and Delete.
It also handles related deliveries and invoices during cancellation to keep operations consistent.
FEATURES
Bulk action from Sales Order list view using Action -> Cancel Orders.
Wizard with radio selection for operation type.
Three operations: Cancel Only, Cancel and Reset to Draft, Cancel and Delete.
Cancels related delivery orders and handles done pickings.
Cancels or reverses related invoices based on invoice state.
Access restricted to Sales Manager.
Step 1: Select multiple Sale Orders from Quotations/Orders list view.
Users can navigate to the Quotations or Orders list view and select one or more records that need to be cancelled simultaneously.
Step 2: Open wizard from Action -> Cancel Orders.
After selecting the relevant orders, click on the Action menu and choose the 'Cancel Orders' option to trigger the cancellation wizard.
Step 3: Choose operation type and review selected orders in wizard.
The wizard displays the selected orders and provides options to choose the specific cancellation operation you wish to perform.
Result A: Cancel Only - orders move to Cancelled state.
Selecting 'Cancel Only' will simply cancel the selected sale orders, changing their status to 'Cancelled' without any further action.
Result B: Cancel and Reset to Draft - cancelled order returns to quotation.
This option cancels the selected orders and automatically resets them to the 'Draft/Quotation' state, allowing for further modifications.
Result C: Cancel and Delete - selected order is removed permanently.
Choosing this operation will cancel the selected sale orders and then permanently delete them from the system. Use this with caution.
Delivery/Invoice impact after confirmation (pickings and invoices handled).
The module intelligently handles related delivery orders and invoices. Pending deliveries will be cancelled, and related invoices will be reversed or cancelled based on their current state.
Please log in to comment on this module