Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 19.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.05 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 0 HTTP endpoints

Description

Adds an approval block mechanism to Sale Orders, allowing them to be blocked with a specific reason until explicitly released.

Blocked orders cannot be confirmed until the block is removed.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_minimum_amount

Code analysis

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

Views touched 4

XML IDNameModelTypeStatus
sale_approval_block_reason_form_view sale.approval.block.reason.form sale.approval.block.reason form New
sale_approval_block_reason_tree_view sale.approval.block.reason.tree sale.approval.block.reason list New
sale_order_form_block_reason sale.order.form.block.reason sale.order form Inherits sale.view_order_form
view_sale_order_filter sale.order.select.block.reason sale.order Inherits sale.view_sales_order_filter

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (3)
  • active Boolean
    default=True
  • description Text
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_confirm(self)

New fields (2)
  • approval_block_id Many2one → sale.approval.block.reason
    comodel_name='sale.approval.block.reason' string='Approval Block Reason'
  • approval_blocked Boolean
    compute='_compute_approval_blocked'
Public methods (3)
  • button_release_approval_block(self)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)