OdooWiki OCA HUB

Purchase Commercial Partner

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

This module adds a related stored field Commercial Supplier on purchase orders. It is similar to the native field Commercial Partner on invoices. This module is the twin brother of the OCA module sale_commercial_partner located in the sale-workflow project.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a stored "Commercial Vendor" field on purchase orders, automatically filled from the vendor's commercial entity, so you can group and analyse purchases by the parent company instead of the individual contact.

This module adds a new field called "Commercial Vendor" on purchase orders. It is filled automatically from the vendor selected on the order: if the vendor is a contact belonging to a parent company, the parent company is shown instead. The value is stored in the database, so it can be used for grouping and reporting.

Where it appears: - On the purchase order form, the field is added next to the vendor field but kept hidden; it is used behind the scenes. - In the purchase orders search filters, a new "Commercial Vendor" grouping option is added, so you can group orders by the parent company of the vendor. - In the purchase analysis report, the same "Commercial Vendor" grouping option is added, so you can analyse purchase figures by parent company.

Business behaviour: the value is computed from the vendor's commercial entity and stored, so it stays available for grouping even if the vendor contact changes later. No checks, restrictions, emails or scheduled jobs are added by this module.

It touches the purchase order model (purchase.order) and the purchase analysis report (purchase.report).

Depends on

purchase
Models and fields (1)
  • purchase.order · extends an existing modelcommercial_partner_id (Commercial Vendor)

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

In the search view of RFQ/purchase orders, you can group by Commercial Supplier.

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.