Purchase Line Procurement Group
This module changes the way procurements generate purchase order lines. If some procurements are run for the same products and locations, but have different procurement groups, these won't be merged in the same purchase order line and will instead generate a purchase order line per procurement group.
Moreover this module ensures that generated stock move won't be merged together if they come from purchase order lines with different procurement groups.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Keeps purchase order lines and their stock moves separate when they come from different procurement groups, so demands from different sources are not merged into one line.
When Odoo runs procurements (for example from sales orders or reordering rules), it normally merges demands for the same product and location into a single purchase order line. This module changes that: if the demands belong to different procurement groups, they stay on separate purchase order lines.
- A new field, procurement group, is added to each purchase order line. It is hidden by default and only visible to users with technical settings enabled, on the purchase order form, both in the lines list and in the line detail pop-up.
- When a purchase order line is created from a procurement, the procurement group is copied onto the line automatically.
- When stock moves are generated for that line, they inherit the same procurement group, so moves from lines with different groups are not merged together.
- The merge logic for stock moves now also treats the procurement group as a distinguishing criterion, preventing moves with different groups from being combined.
This affects the purchase order line and stock move records. No new menus or reports are added; the change is visible in how purchase order lines and their related stock moves are grouped.
Depends on
Required by other modules
Models and fields (2)
- stock.move · extends an existing model
- purchase.order.line · extends an existing modelprocurement_group_id
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-03Confirmation status: 5 confirmed, 4 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
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.