OdooWiki OCA HUB

Purchase Order Purchase Manager

purchase_order_purchase_manager folder_open OCA/purchase-workflow open_in_new
Purchase License: LGPL-3

This module extends the functionality of the purchase order to allow the user to be set up automatically from the supplier's purchasing manager.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Automatically fills the buyer (Purchase Representative) on a purchase order with the purchasing manager defined on the supplier, as long as the order is still a draft or sent.

When you create a purchase order and choose a supplier, Odoo looks at that supplier's purchasing manager and puts that person in the Buyer field of the order. This saves you from selecting the buyer manually every time.

The rule only applies while the order is not yet confirmed: as long as the order is in draft or sent status, the buyer is taken from the supplier. Once the order is confirmed or completed, the buyer is no longer changed automatically, so the person who actually handled the order stays recorded.

This works together with the supplier purchasing manager information (the module that stores a purchasing manager on the contact/company record). The change is visible on the purchase order form, in the Buyer / Purchase Representative field, and it is stored on the order, so it can be used in filters, grouping and reports.

It touches the purchase order model purchase.order and its user_id field. No new menus, buttons or reports are added; the module only changes how the buyer is filled in on purchase orders.

Depends on

Models and fields (1)
  • purchase.order · extends an existing modeluser_id

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: 1 confirmed, 8 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

To use this module, you need to:

Manual order:

  • Go to Purchase > Orders > Vendors.
  • Create a new vendor and set Purchase Manager in Sales & Purchases tab.
  • Go to Purchase > Orders > Purchase Orders.
  • Set Vendor created before.
  • Buyer is fill automatically with value in purchase manager from vendor. As long as the quotation is not confirmed or locked the "buyer" field will be updated if the value of the vendor's "Purchase Manager" field is changed by copying that value.
  • Confirm the Purchase Order.
  • Change Purchase Manager in Vendor.
  • Buyer in Purchase Order has not changed. All purchase orders in "Purchase" or "Done" status will not update the value of the "buyer" field even if the value of the "Purchase Manager" field in the vendor is changed.

Replenishment order:

  • When a replenishment order is executed the "buyer" field of the RFQ will copy the value of the "Purchase Manager" field assigned to the vendor.
  • Afterwards, the operation will be the same as in the Manual order case:

No verified information in OCA: Installation, Configuration.

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.