OdooWiki OCA HUB

Product Main Vendor

product_main_seller folder_open OCA/purchase-workflow open_in_new
Purchase License: AGPL-3

This module extends the Odoo Product module to compute and display the main Vendor of each products. The main vendor is the first vendor in the vendors list.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows the main vendor of each product directly in the product list and lets you group products by main vendor. The main vendor is the first active vendor in the product's vendor list.

This module adds a "Main Vendor" field to products. It is filled automatically with the first active vendor found in the product's vendor list (the one with the lowest sequence number). If the first vendor is archived, the next active vendor is used instead.

You can see the Main Vendor column in the product list views for both product variants and product templates. The column is optional and shown by default. In the product search view, a new "Main Vendor" filter lets you group products by their main vendor, making it easy to see all products supplied by the same vendor.

The field is stored in the database, so it can be used for filtering and grouping. When the module is installed, existing products are filled in automatically based on their current vendor list, using the vendor with the lowest sequence, then the highest minimum quantity, then the lowest price.

The module works with product.template and product.product and depends on the Purchase app. It does not add any new menus or buttons; it only extends existing product views.

Depends on

purchase
Models and fields (1)
  • product.template · extends an existing modelmain_seller_id (Main Vendor)

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

Sources · Odoo 19.0

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

terminal Installation and usage

No verified information

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.

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.