TIP: You can type at any time to perform a new search.
Sale Order Approval Block
sale_order_approval_block · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sales
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-07-24 11:10:52
- Authors
- Odoo Community Association (OCA), ForgeFlow
- Maintainers
- Odoo Community Association (OCA), ForgeFlow
- Committers
- AaronHForgeFlow, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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)