Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
Lines of code | 83 |
Technical Name |
to_sale_loyalty_patch_1 |
License | OPL-1 |
Problem
In a loyalty program, suppose a user has accumulated 8,000 points and wants to redeem 2 units of promotion Product A (400 points/unit) and 3 units of promotion Product B (600 points/unit). By default, if the user selects Product A first, the system will consume all 8,000 points to redeem the maximum possible quantity of Product A (20 units), regardless of any adjustments made to the quantity. This prevents the user from redeeming Product B as intended.
Solution
The Sale Loyalty Patch 1 module addresses this issue by:
- Redeeming promotional products one by one:
- By selecting Claim Free Product One By One in the Reward interface, when clicking the Redeem button in the sales order interface, the system allows the user to redeem products one at a time instead of consuming all points at once.
- Example: A user with 8,000 points wants to redeem 2 units of Product A and 3 units of Product B. After redeeming 2 units of Product A (800 points consumed), the user still has 7,200 points left to redeem 3 units of Product B (1,800 points consumed). The remaining 5,400 points can be used for other rewards.
- Adjusting quantities directly on the sales order:
- If the user wants to redeem multiple products at once, they can modify the quantities directly in the sales order line.
- Example: The user enters a quantity of 2 units of Product A and 3 units of Product B. The system automatically deducts a total of 2,600 points corresponding to the selected products.
Limitations
- If the user enters a quantity that exceeds the maximum redeemable amount, the system currently does not issue a warning or prevent the action.
Benefits
- High flexibility: Users can redeem products step by step or adjust quantities as needed without being restricted by default logic.
- Optimized point usage: Reduces wasted points and enhances the user experience.
Who should use this module
Businesses running loyalty programs with multiple promotional products, especially those aiming to provide high flexibility for customers in point redemption.
Supported Editions
- Community Edition
- Enterprise Edition
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module