OdooWiki OCA HUB

Loyalty incompatibilities in sales

sale_loyalty_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 18.0

Adds incompatibility rules between promotions in sales orders, so a promotion that conflicts with one already applied cannot be used together.

This module extends the sales order behaviour so that promotions (loyalty programs) can be marked as incompatible with each other. When Odoo evaluates which promotions can be applied to a sales order, it now also checks the promotions already present on the order lines.

  • If a promotion is incompatible with any promotion already applied on the order, it is blocked and an error message is shown: "This promotion is incompatible with other set already in the order so it can't be applied."
  • The check is performed automatically when Odoo computes the points or eligibility of promotions for the order.
  • The incompatibility rules themselves are configured through the related loyalty incompatibility module, not in this module.

This affects the sale.order model and its promotion evaluation logic. Users will see the restriction when trying to combine conflicting promotions on a quotation or sales order. No new menus or screens are added by this module; it only enforces the rule during promotion application.

Depends on

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

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

terminal Installation and usage

OCA documentation · Odoo 18.0

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

  • A loyalty program with no code, won't be applied.
  • A loyalty 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.