OdooWiki OCA HUB

Purchase Requisition Grouped by Procurement

purchase_requisition_grouped_by_procurement folder_open OCA/purchase-workflow open_in_new
Purchases License: AGPL-3

This module allows you to group procurements in the same purchase requisitions according to procurement group.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

When Odoo automatically creates purchase requisitions from stock rules, this module reuses an existing draft requisition for the same procurement group instead of creating a new one, adding the new lines to it.

When Odoo needs to replenish stock, it can generate purchase requisitions automatically. Without this module, each replenishment run can create a separate draft requisition, even when the lines belong to the same procurement group.

With this module, the automatic replenishment process is flagged so that the system first looks for an existing draft purchase requisition that already belongs to the same procurement group. If one is found, the new lines are added to that requisition instead of creating another record. If none is found, a new requisition is created as usual.

  • Only draft requisitions are reused; requisitions that are already confirmed or in another state are not touched.
  • The grouping key is the procurement group, so lines from the same group end up together.
  • This behaviour applies to requisitions generated automatically from stock rules, not to requisitions created manually by users.

The module extends the purchase.requisition model and the stock.rule model. It does not add new menus, screens, buttons or reports; the change is visible in the list of purchase requisitions, where fewer draft records appear and lines are consolidated.

Depends on

purchase_requisition_stock
Models and fields (1)
  • purchase.requisition · extends an existing model

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

Sources · Odoo 13.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

To configure this module, you need to:

  • Go to Purchase > Products > Product
  • Create a storable product and set "Procurement" to "Propose a call for tenders" ("Purchase" tab) and set "Routes" to "MTO" + "Buy" ("Inventory" tab).
  • Create another product the same as the previous one.

To use this module, you need to:

  • Go to Sales > Orders > Quotations
  • Create an order and add the previously created products.
  • Confirm sale order.
  • Go to "Purchase > Orders > Purchase Agreements**
  • Only one record has been created with the order lines.

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.