Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 24 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
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_id Many2one → purchase.order.cancel.reason
    comodel_name='purchase.order.cancel.reason' ondelete='restrict' readonly=True string='Reason for cancellation'
Public methods (1)
  • 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_id Many2one → purchase.order.cancel.reason
    comodel_name='purchase.order.cancel.reason' required=True string='Reason'
Public methods (1)
  • confirm_cancel(self)

New fields (1)
  • name Char
    required=True string='Reason' translate=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…