OdooWiki OCA HUB

Coupon Promotion Product Domain Discount

coupon_domain_product_discount folder_open OCA/sale-promotion open_in_new
Sales Management License: AGPL-3

Base module for applying promotions only to the products matching the "Based on Products" domain.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you apply a coupon promotion discount only to the products that match a product domain, instead of listing each product manually. You also get a description of the eligible products on the coupon report.

This module extends the coupon promotion feature so a discount reward can target a group of products defined by a filter (domain) rather than by picking products one by one.

On the coupon program form, when the reward is a discount applied on specific products, a new option "Apply on products domain" appears. When you tick it, the manual product list is hidden and the discount is applied to all products matching the program's product domain. You can also fill in a "Description for coupons" text that explains which products are eligible.

A new option "Strict per product limit" is available on the rule when the discount is based on a product domain. It makes the minimum quantity or amount be checked separately for each product that matches the domain, instead of on the whole order.

The coupon report is updated: when the discount applies on a product domain, it shows "OFF ON SOME PRODUCTS*" and prints your description as a footnote listing the valid products.

The module touches coupon.reward, coupon.rule and the coupon program form and report. It does not create new menus.

Depends on

coupon

Required by other modules

Models and fields (2)
  • coupon.rule · extends an existing modelstrict_per_product_limit
  • coupon.reward · extends an existing modeldiscount_specific_product_ids, discount_apply_on_domain_product (Apply on products domain), stored_discount_specific_product_ids, discount_apply_on_domain_product_description (Description for coupons)

Text generated by AI (DeepSeek) from reading the Odoo 15.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 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/sale-promotion.

terminal Installation and usage

OCA documentation · Odoo 15.0

To apply the discount over the domain products:

  • Open or create a new Promotion Program in the Sales/Products/Promotion Programs menu.
  • Set the reward type as Discount.
  • Choose Discount Apply On: selected products.
  • Set the checkbox Apply on products domain on.

Only those products matching the Based on Products domain criteria will be discounted.

If you want the minimum quantity and amount criterias to be applied per product matched, you'll see the Strict per product limit just below the products domain.

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.