Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 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 4 models 2 views 0 HTTP endpoints

Description

This module adds an optional free-text reason to Odoo's native sales order cancellation dialog. The reason, user, and date are stored on the cancelled sales order.

Unlike sale_cancel_reason, which uses a predefined list of reasons, this module lets the user enter the reason as free text. Normally only one of these modules is needed.

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 2

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits sale.res_config_settings_view_form
sale_order_cancel_view_form sale.order.cancel.form.cancel.reason sale.order.cancel form Inherits sale.sale_order_cancel_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • sale_cancel_confirm Boolean
    help='Ask for an optional reason when cancelling a sales order.' string='Sale Cancellation Reason'
Public methods (0)

No public methods.

New fields (1)
  • sale_cancel_confirm Boolean
    readonly=False related='company_id.sale_cancel_confirm'
Public methods (0)

No public methods.

New fields (1)
  • cancel_confirm Boolean
    default=False
Public methods (1)
  • action_draft(self)

New fields (2)
  • cancel_reason Text
  • sale_cancel_confirm Boolean
    related='order_id.company_id.sale_cancel_confirm'
Public methods (1)
  • action_cancel(self)

Loading…