Sale Loyalty Order Suggestion Multi Gift
This module extends the functionality of sale_loyalty_order_suggestion by giving hints of available promotions whose reward is multi-gift and whose rules require a minimum quantity of products.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Extends the sale order promotion suggestions to also show multi-gift promotions that require a minimum quantity of products, and adjusts order lines when a multi-gift reward is applied.
This module builds on two existing promotion modules to make multi-gift rewards appear in the promotion suggestions shown on a sale order.
When Odoo looks for available promotions for a sale order, it now also includes programs whose reward type is 'multi_gift' and whose reward products include the product currently being sold. This means salespeople can see and pick multi-gift promotions directly from the order line suggestion area.
When a user applies a multi-gift reward through the reward wizard, the module first applies the loyalty rule lines to the order. After the standard reward application, it checks each selected gift line. If the selected gift product is not one of the products required by the promotion rules and no units of that product are meant to be included, it removes the corresponding quantity from the order line. If the whole line quantity matches the quantity to remove, the line is deleted; otherwise the quantity is reduced.
The module also changes how the selected gift is pre-filled in the gift selection wizard: if the wizard is for a multi-gift reward and the product being sold is among the available gifts, that product is automatically selected as the gift.
It touches the sale order model and the loyalty reward wizards, and it works together with the promotion suggestion and multi-gift modules.
Required by other modules
Models and fields (2)
- sale.loyalty.reward.wizard · extends an existing model
- sale.loyalty.reward.product_line.wizard · extends an existing model
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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-promotion.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To use this module:
- Configure or create a promotion and set in its rules a minimum quantity of products required.
- Create a sales order and add one of the products that were part of the rewards to the order lines. This line will be marked with an icon (🎁) that will appear at the bottom right.
- Click on the icon and the wizard will open with the available promotions.
- Select the promotion and the products needed to apply it.
No verified information in OCA: Installation, Configuration.
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.