OdooWiki OCA HUB

Sale Coupon Promotion Product Domain Discount

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

This module extends coupon_domain_product_discount to allow applying the promotions on the sale orders.

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 the whole order. It also supports a strict per-product limit so each product must individually meet the minimum quantity and amount rules.

This module extends the coupon promotion feature in Sales so that a discount program can be restricted to a set of products defined by a product domain.

When a promotion is configured to apply on specific products and to use a product domain, the discount is calculated only on the order lines whose products match that domain. Products outside the domain are not discounted.

If the promotion also uses the strict per-product limit option, the module checks each matching product individually: the product must reach the minimum quantity and the minimum amount (tax included or excluded, depending on the promotion setting) before its lines are included in the discount. Only lines that pass this check are discounted.

This affects the sale.order model when reward discount values are computed, and the coupon.program model when deciding which reward programs are still available for an order. There are no new menus or screens; the behaviour is added to the existing promotion setup and sale order discount calculation.

Depends on

Models and fields (1)
  • sale.order · extends an existing model

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

Sources · Odoo 14.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

Once the extended module is configured, create a sale order and apply the desired promotion.

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.