OdooWiki OCA HUB

Coupon incompatibilities

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

This module allows to set incompatibilities between promotions, so when a promotion A is not compatible with promotion B, they can't be applied together in a sales order.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets you mark promotions as incompatible so that two conflicting promotions cannot be applied to the same sales order. When a customer tries to add a promotion or coupon that clashes with one already on the order, Odoo blocks it with an error message.

This module adds a business rule on top of the promotions and coupons feature: promotions can be flagged as incompatible with each other, and Odoo will refuse to combine them on the same sales order.

Where it applies: - When a promotion code is entered on a sales order, Odoo checks the promotions already present on that order (automatic promotions, the promotion code already applied, applied coupons and generated coupons). - When a coupon code is used, the same check is done against the promotion the coupon belongs to.

What happens: - If the promotion or coupon being added is marked as incompatible with any promotion already on the order, the action is rejected and the user sees the message: "This promotion is incompatible with other set already in the order so it can't be applied." - If there is no conflict, the normal promotion/coupon validation continues as usual.

The rule is enforced on the coupon.program and coupon.coupon models, so it works both for promotions applied directly and for coupons generated from promotions. No new menus or screens are added; the incompatibility settings themselves come from the related incompatibility module.

Depends on

Models and fields (2)
  • coupon.coupon · extends an existing model
  • coupon.program · 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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

Once you've configured your incompatibilities, go to a quotations that fulfills your incompatible promotions and try to set them altogether.

  • A coupon program with no code, won't be applied.
  • A coupon or program code, will raise an error.

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.