Sale Order Approval Block
sale_order_approval_block · OCA/sale-workflow
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
activeBooleandefault=True -
descriptionText -
nameCharrequired=True
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_confirm(self)
New fields (2)
-
approval_block_idMany2one → sale.approval.block.reasoncomodel_name='sale.approval.block.reason'string='Approval Block Reason' -
approval_blockedBooleancompute='_compute_approval_blocked'
-
button_release_approval_block(self) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)