OdooWiki OCA HUB

Product Assortment

product_assortment folder_open OCA/product-attribute open_in_new
Uncategorised License: AGPL-3

This addon intends to manage product assortment. In Odoo you can only define some filters defined by a domain but it can be sometimes really complicated. With this addon you will be able to define a domain but also add some products to include or to exclude through a allowed list and a restricted list. This is done by overriding ir.capability but without influencing its standard behaviour.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Create product assortments that decide which products each customer (or group of customers) can see, by combining a product filter with allowed and restricted product lists. Managers can open the assortment from the customer form and preview the resulting products.

This module adds a new kind of saved filter, called an assortment, built on top of Odoo's existing filters (ir.filters). Instead of only using a product domain, an assortment can also include a list of allowed products and a list of restricted products, and it can target specific customers or a customer domain.

Where it appears: - A new "Product Assortment" menu is available for users in the "Product Assortment Manager" group. - On the customer form, a "Product Assortments" button opens the assortments linked to that customer.

What users can do: - Define an allowed product domain, an optional restricted product domain, products to include, products to exclude, and the partners (or partner domain) the assortment applies to. - Click the product counter button on an assortment to see the resulting product list.

Automatic behaviour: - The list of partners covered by an assortment is computed automatically from the selected partners and the partner domain. - The number of matching products is computed and shown on the assortment form. - When a customer is created or when fields used in a partner domain change, the assortments applied to that customer are refreshed. - A scheduled action (inactive by default) can recompute all partners daily.

It touches ir.filters, res.partner and product.product, and adds an access rule so assortment managers only see assortment filters.

Depends on

baseproduct

Menus it adds

Product Assortment
Models and fields (2)
  • ir.filters · extends an existing modelpartner_ids, record_count, is_assortment, partner_domain, all_partner_ids, blacklist_product_ids (Restricted products), whitelist_product_ids (Allowed products), black_list_product_domain (Restricted product domain), apply_black_list_product_domain (Apply restricted product domain)
  • res.partner · extends an existing modelapplied_assortment_ids

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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

  • Enter the menu through Product Assortment Icon
  • Create a new filter where you can define your domain and add allowed and restricted products

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.