This module makes the field Purchase Representative in Purchase Orders default to the user doing a procurement to overcome the known flaw of Odoo user in the transaction when using SUPERUSER_ID.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When Odoo automatically creates a request for quotation from a stock rule, the Purchase Representative is set to the user who triggered the procurement instead of the system user.
This module fixes a known annoyance in automated purchasing. When stock rules generate a request for quotation (for example when stock falls below a reorder point), Odoo normally records the system/administrator user as the Purchase Representative, which is not useful for follow-up.
With this module installed, the user who actually triggered the procurement is remembered and used as the Purchase Representative on the generated purchase order. This happens automatically in the background; there is no new screen, menu or button.
- It works through the stock rule mechanism (
stock.rule) used by reordering and procurement. - The buyer shown on the created request for quotation is the person who caused the need, not the system user.
- If several procurements with different triggering users are grouped into one purchase order, no single representative is forced, so Odoo keeps its normal behaviour.
The change affects the purchasing flow linked to stock replenishment (purchase_stock) and the Purchase Representative field on purchase orders. No new fields, reports, emails or scheduled jobs are added.
Depends on
Models and fields (1)
- stock.rule · extends an existing model
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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0Just set the Purchase Representative in the Purchase Order header. Then when sending the RFQ/PO to the vendor the Purchase Representative will be the contact person (email from and reply to).
No verified information in OCA: Installation, Configuration.
Installation 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.