Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.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.04 MB
Module directory on disk
Code analysis 0 migration notes 1 model 3 views 0 HTTP endpoints

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

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 3

XML IDNameModelTypeStatus
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_confirm Boolean
    copy=False default=False
Public methods (2)
  • button_cancel(self)
  • button_draft(self)

Loading…

Loading…