OdooWiki OCA HUB

Sale Coupon Promotion Product Domain Discount in Field

sale_coupon_domain_product_discount_in_field folder_open OCA/sale-promotion open_in_new
Sale License: AGPL-3

Bridge module between sale_promotion_discount_in_field and sale_coupon_domain_product_discount

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

This bridge module makes a coupon promotion apply its discount only to the products that match the promotion's product domain, instead of to all order lines. It installs automatically when both related promotion modules are present.

This is a technical bridge module that connects two existing promotion features. It does not add any new menu, screen or button; it changes how an existing discount is calculated on a sales order.

When a promotion is set to apply on specific products and a product domain is defined on the promotion, the module passes that domain to the discount calculation. As a result, only the order lines whose products match the domain receive the reward discount, while other lines keep their normal price.

  • It works on sale.order through the reward discount calculation method.
  • It only changes behaviour when the promotion's discount applies to specific products and a product domain is set.
  • It relies on the two modules it depends on: one that stores the discount in a field and one that adds the product domain to coupon promotions.

Because it is an automatic bridge, users do not install or configure it directly; they simply configure the promotion's product domain as usual and the discount is limited to those products.

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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-promotion.

terminal Installation and usage

OCA documentation · Odoo 14.0

Please check description of the following modules:

  • sale_promotion_discount_in_field
  • sale_coupon_domain_product_discount

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.