OdooWiki OCA HUB

Purchase Order Approval Block

purchase_order_approval_block folder_open OCA/purchase-workflow open_in_new
Purchase Management License: AGPL-3

This module allows you to block the approval of an RFQ when an Approval Block Reason has been provided. Upon confirmation of an RFQ the orders will be waiting for approval by a Manager.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you flag a request for quotation with an approval block reason so it cannot be approved until a manager releases the block. Block reasons are managed in a new configuration menu.

This module adds a way to stop a request for quotation (RFQ) from being approved until someone deliberately clears the block.

  • On the purchase order form you get a new "Approval Block Reason" field, shown next to the order date. You can pick a reason while the order is still a draft; once a reason is set, the field becomes read-only.
  • A "Release Approval Block" button appears in the order header for users in the "Release RFQ with approval block" group (purchase managers get this right automatically). It is only visible when a reason is set and the order is in draft or sent state.
  • When a reason is set, a message is logged in the order's chatter saying the order was blocked and with which reason. When the block is released, another message records that the approval block was released.
  • The order also gets a computed "Approval Blocked" flag, and an exception rule named "Approval Blocked" is added so the order is treated as blocked for approval.
  • If a user confirms an order that has a block reason, the block is released automatically before approval proceeds. The same happens when a user chooses to ignore the exception in the exception confirmation wizard.
  • A new configuration menu "Purchase Approval Block Reasons" (under Purchase configuration) lets managers create, edit and archive the list of reasons, each with a name and description.
  • In the purchase order search filters you can filter orders "Blocked for Approval" and search by block reason.

It touches purchase.order, purchase.approval.block.reason and the purchase exception confirmation wizard.

Required by other modules

Menus it adds

Purchase Approval Block Reasons
Models and fields (3)
  • purchase.order · extends an existing modelapproval_blocked, approval_block_id (Approval Block Reason)
  • purchase.exception.confirm · extends an existing model
  • purchase.approval.block.reason · new modelname, active, description

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to ‘Purchases / Configuration / Purchase Approval Block Reasons’ and create the blocking reasons as needed, providing a name and a description. A field ‘Active’ allows you to deactivate the reason if you do not plan to use it any more.
  • Assign the security group 'Release RFQ with approval block' to users that should be able to release the block. Users in group 'Purchase / Managers' are by default assigned to this group.

Set the Purchase Approval Block

  • Go to ‘Purchases / Purchase / Requests for Quotation’
  • Create a new RFQ and indicate the approval block reason (found in the right hand side of the screen, below the order date).

Search existing RFQ

There is a filter ‘Blocked’ to search for orders that are blocked for approval. It is also possible to search RFQ’s with a specific block reason.

Confirm the RFQ

  • Press the button ‘Confirm’. If there’s an approval block, the order will be set to status 'To Approve'. You will then need to request a Purchase Manager to approve it.

Release the purchase approval block

While the RFQ is in draft, members of security group ‘Release RFQ with approval block’, can see a button ‘Release Approval Block’. From this point and on, anyone seeing that RFQ will be able to validate it.

Notifications to followers

Followers of the RFQ receive notifications when an approval block has been set or released.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.