purchase_order_approval_block
This module enables blocking the approval of purchase orders (RFQs) based on predefined reasons, requiring manager approval to proceed with confirmation.
Key Features
- purchase.approval.block.reason: Defines configurable reasons for blocking purchase order approvals with name, description, and active status.
- purchase.order: Adds an approval block reason field to purchase orders and computes a blocked status based on the presence of a reason.
- purchase.order: Prevents confirmation of purchase orders with an approval block, setting them to 'to approve' state instead.
- purchase.order: Provides a button for authorized users to manually release approval blocks on draft or sent orders.
- purchase.order: Automatically releases approval blocks when approving orders that have them set.
- purchase.order: Sends notifications to followers when approval blocks are set or released on purchase orders.
- purchase.exception.confirm: Releases approval blocks when confirming purchase orders while ignoring exceptions.
- purchases: Includes a filter in the purchase order list view to search for orders blocked for approval.
- purchases: Adds a field in the purchase order form to select an approval block reason, visible only in draft state.
- purchases: Provides configuration views for managing approval block reasons under the purchases menu.
- security: Defines a security group for releasing approval blocks, automatically assigned to purchase managers.