When the user clicks on the Cancel button of a purchase order, a confirmation wizard is shown, where a cancellation reason can optionally be given. The reason, the user and the date are then stored on the purchase order.
It replaces the plain confirmation dialog of the standard Cancel button of the list views, which asks for no reason.
The wizard is only shown when the cancellation is requested from the Cancel button of the form or list views. Purchase orders cancelled by other flows, such as merging requests for quotation or cancelling a purchase agreement, are not affected.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When you cancel a purchase order from the Cancel button, Odoo now asks for a confirmation and lets you optionally enter a cancellation reason, which is saved on the order.
This module changes what happens when a user cancels a purchase order. Instead of cancelling immediately, clicking the Cancel button opens a confirmation wizard where a cancellation reason can optionally be entered. The reason, the user who cancelled and the date are then stored on the purchase order.
- The wizard appears when cancelling from the purchase order form, from the purchase order list, and from the list with KPI indicators.
- A new field on the purchase order records whether the cancellation confirmation was already given, so the wizard is not shown twice for the same order.
- When an order is set back to draft, the stored cancellation confirmation data is cleared, so a future cancellation asks for confirmation again.
- Cancellations coming from other flows (for example merging requests for quotation or cancelling a purchase agreement) are not affected, because the wizard only triggers from the Cancel button.
The module touches the purchase.order model and its form and list views. It relies on the shared cancellation confirmation mechanism from base_cancel_confirm.
Depends on
Models and fields (1)
- purchase.order · new modelcancel_confirm
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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-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.