TIP: You can type at any time to perform a new search.
Purchase Cancel Confirm
purchase_cancel_confirm · OCA/purchase-workflow
Security findings
- Repository
- OCA/purchase-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/purchase-workflow
- Last tracking update
- 2026-09-10 17:17:31
- Authors
- Odoo Community Association (OCA), Ecosoft
- Maintainers
- Odoo Community Association (OCA), Ecosoft
- Committers
- OCA-git-bot, oca-ci, Hector Vior, DavidJForgeFlow
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form - purchase_cancel_confirm | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_kpis_tree |
purchase.order.list.kpis - purchase_cancel_confirm | purchase.order | list | Inherits purchase.purchase_order_kpis_tree |
purchase_order_view_tree |
purchase.order.list - purchase_cancel_confirm | purchase.order | tree | Inherits purchase.purchase_order_view_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (1)
-
cancel_confirmBooleancopy=Falsedefault=False
-
button_cancel(self) -
button_draft(self)
Loading…
Loading…