Purchase Cancel Reason
purchase_cancel_reason · OCA/purchase-workflow
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 24 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.42 MB
Module directory on disk
Code analysis
0 migration notes
3 models
6 views
0 HTTP endpoints
Description
When a purchase order is canceled, a reason must be given, it is chosen from a configured list.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_kpis_tree |
purchase.order.list | purchase.order | list | Inherits purchase.purchase_order_kpis_tree |
purchase_order_view_tree |
purchase.order.list | purchase.order | list | Inherits purchase.purchase_order_view_tree |
view_purchase_order_cancel |
Reason for the cancellation | purchase.order.cancel | form | New |
view_purchase_order_cancel_reason_form |
Purchase Order Cancel Reason | purchase.order.cancel.reason | form | New |
view_purchase_order_cancel_reason_tree |
Purchase Order Cancel Reason | purchase.order.cancel.reason | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
cancel_reason_idMany2one → purchase.order.cancel.reasoncomodel_name='purchase.order.cancel.reason'ondelete='restrict'readonly=Truestring='Reason for cancellation'
-
action_open_cancel_wizard(self)Open the cancellation wizard with the selected purchase orders. Raise a warning if all orders are in the 'done' or 'cancel' state. Otherwise, proceed with the wizard for valid orders.
New fields (1)
-
reason_idMany2one → purchase.order.cancel.reasoncomodel_name='purchase.order.cancel.reason'required=Truestring='Reason'
-
confirm_cancel(self)
New fields (1)
-
nameCharrequired=Truestring='Reason'translate=True
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…