OdooWiki OCA HUB

Sale Loyalty Product Exclude

sale_loyalty_exclude folder_open OCA/sale-workflow open_in_new
Sale License: AGPL-3

This module allows you to exclude products from a loyalty program. These products have no effect on the minimum amount required to apply for the loyalty program.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Mark products as excluded from loyalty programs so they do not count towards the minimum amount needed to earn rewards. Excluded products are also hidden from loyalty rule and reward product selections.

This module adds a simple switch on the product form to keep certain products out of loyalty programs.

  • On the product form, in the Sales tab, a new "Loyalty" group contains the checkbox "loyalty_exclude". When ticked, the product is excluded from loyalty programs.
  • When a product is excluded, its order lines are treated as having no effect on the minimum amount required to reach a loyalty threshold. This means those lines are ignored when Odoo checks whether the customer has spent enough to earn a reward.
  • The module also filters the product selection fields used when setting up loyalty rules and rewards: products marked as excluded no longer appear in the product list of a loyalty rule or in the discounted product list of a reward.

It touches the product form, the sale order calculation of threshold lines, and the loyalty rule and reward configuration screens. No new menus or reports are added.

Depends on

sale_loyalty

Required by other modules

Models and fields (4)
  • sale.order · extends an existing model
  • loyalty.rule · extends an existing modelproduct_ids
  • loyalty.reward · extends an existing modeldiscount_product_ids
  • product.template · extends an existing modelloyalty_exclude

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

Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Go to Sales/Products/Products and enable Loyalty Exclude option

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.