Sale Promotion Rule Assortment
This addon allows to reduce the appliance of a promotion rule to a set of products.
auto_awesome What this module does
AI-generated from the code · Odoo 14.0Limit a sales promotion rule so it only applies to a chosen set of products. On the promotion rule form you pick a product assortment filter, and only matching products count for the promotion.
This module extends the sales promotion rule so that a promotion can be restricted to a specific set of products instead of applying to the whole order.
On the promotion rule form, a new 'Filter' field lets you choose a product assortment. Only filters marked as assortments can be selected. If you leave it empty, the promotion keeps working on all products as before.
When a filter is set, the promotion only considers order lines whose product matches the filter. Lines with other products are ignored for the promotion and are excluded from the total amount used to evaluate the rule. This means a discount or gift rule can be limited to, for example, only consumable products.
- The promotion rule screen gains a Filter field next to the restricted partners field.
- The rule's product scope is computed from the selected filter's domain.
- Order lines outside the assortment are removed from the amount used by the rule.
- A new restriction type 'product_assortment' is added to the rule's restriction list.
The module touches sale.promotion.rule and relies on product assortments stored as filters on product.product. It does not add its own menus; the new option appears inside the existing promotion rule form.
Depends on
Models and fields (1)
- sale.promotion.rule · extends an existing modelfilter_id
Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/sale-workflow.
terminal Installation and usage
OCA documentation · Odoo 14.0Usage
Source · Odoo 14.0To 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 whitelisted and blacklisted products
- Create a promotion rule and limit it to the assortment you just created
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.