OdooWiki OCA HUB

Purchase Minimum Amount

purchase_minimum_amount folder_open OCA/purchase-workflow open_in_new
Uncategorised License: AGPL-3

This module allows you to establish and automate a specific Purchase Order Approval Block Reason in the system: the 'Minimum Purchase Order Amount per Vendor'.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Set a minimum purchase amount per vendor and let Odoo automatically block purchase orders that fall below it, with a clear approval block reason.

This module adds a 'Minimum Purchase Amount' field on the vendor (contact) form, in the Sales & Purchases tab. When you create a request for quotation or purchase order for that vendor, the same minimum amount is shown on the order form after the order date.

Odoo then compares the untaxed total of the order with the vendor's minimum. If the total is below the minimum, the order is automatically given the approval block reason 'Minimum Amount per Vendor'. If the total later rises to or above the minimum, that block reason is removed automatically.

The check runs when you change the vendor on the order, and also whenever you add or modify an order line's quantity or unit price, so the block stays up to date while you edit the order.

A 'Release Approval Block' button is available on blocked orders in draft, sent or to-approve states, so a user can manually release the block. The blocked purchase orders filter in the purchase order search view is adjusted to show orders that have any approval block reason.

The module works together with the purchase order approval block feature and touches res.partner, purchase.order and purchase.order.line.

Models and fields (3)
  • res.partner · extends an existing modelminimum_po_amount (Minimum Purchase Amount)
  • purchase.order · extends an existing modelminimum_po_amount (Purchase Minimum Amount)
  • purchase.order.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Go to 'Purchases / Purchase / Vendors'
  • Click on a Vendor and inside the 'Sales & Purchases' page specify the non-required field 'Minimum Purchase Amount'.
  • 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 upon saving if the Untaxed Amount is below the
   Purchase Minimum Amount specified in that vendor, then the Approval Block
   Reason is automatically set and the Approval Block Reason is not editable
   anymore.

Search existing RFQ

There is a filter 'Blocked' to search for orders that are blocked. It is also possible to search RFQ’s with the Approval Block Reason 'Minimum Purchase Order Amount per Vendor'.

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
  • All the RFQ’s with a total amount surpassing the specified Minimum Purchase Order Amount for that vendor (excluding taxes) are automatically released.
  • If a blocked RFQ without surpassing the minimum amount wants to be released, a user member of the security group 'Release RFQ with approval block' can see a button 'Release Approval Block'. When pressing it, anyone seeing that RFQ is 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.