Sale Loyalty Order Type Applicability
This module extends the functionality of sale_loyalty and sale_order_type to allow you to configure in which sale order types your loyalty programs will be applied.
As the default behaviour of Odoo applies loyalty programs to all order types, this module serves to restrict loyalty programs to order types.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you choose which sales order types a loyalty program applies to, so promotions and reward points are only given on the order types you select.
By default Odoo applies every loyalty program to every sales order. This module adds a new field, Sales Order Types, on the loyalty program form so you can limit a program to specific order types.
Where it appears: - On the loyalty program screen, right after the availability section, you get a tag field called Sales Order Types. It is only shown when the program is available for sales, and you can pick existing order types (you cannot create new ones from there). If you leave it empty, the program stays available for all order types.
What changes automatically: - When Odoo computes loyalty points for a sales order, programs whose order types do not match the order's order type are skipped, so no points are earned from them. - If a customer tries to use a promo or coupon code belonging to a program that is not allowed for the current order type, Odoo refuses it with the message "This reward can not be accesed with this order type."
It touches the loyalty program configuration and the sales order logic that checks and awards loyalty points and codes. It works together with the sale order type feature, so order types must be set up first.
Depends on
Models and fields (1)
- loyalty.program · extends an existing modelsale_order_type_ids (Sales Order Types)
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-03Confirmation status: 1 confirmed, 8 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.0Configuration
Source · Odoo 18.0To configure this module, you need to:
- Go to Sales / Products / Discount & Loyalty
- Open or create a Loyalty Program
- Make it avaliable on Sales
- Set the Sales Order Types where this Loyalty Program should be applied.
Usage
Source · Odoo 18.0To use this module, you need to:
- Create a Sales Order with a type that has a restricted loyalty program.
- Click the "Coupon Code" button to use a code to get a reward. The coupons of the restricted loyalty programs won't generate any rewards, showing a warn message.
- Select some products that generate any kind of reward. Click the "Reward" button to get that reward. The restricted loyalty programs won't generate any rewards.
- Confirm the order to trigger rewards of automatic loyalty programs (as loyalty cards). The restricted loyalty programs won't generate any rewards.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.