Purchase Cancel Confirm
purchase_cancel_confirm · OCA/purchase-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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
-
cancel_confirmBooleancopy=Falsedefault=False
-
button_cancel(self) -
button_draft(self)
Loading…
Loading…