Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048365Retail ModulesLoyalty Programs for Web POSpublic2022-01-10 11:292022-01-31 08:25
wicherr 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0048365: When burn rules are deactivated, they still trigger in return mode
Detected in Norauto 20Q3.1

For a giver loyalty program, if burn rules are created and then deactivated,
- they are not triggered during sales (which is OK)
- They are still striggered during returns (which is KO)
- Create a ticket to give enough point to a customer to theorically trigger a burn rule
- Reopen the ticket
- Return a part or the whole ticket
- The burn rules pop-up is displaied although it should not


Video from Norauto test environment :
https://drive.google.com/file/d/1wI3bS9CGfahONBuuolUwGJET_EAGoa9l/view?usp=sharing [^]
If none of the rules are activated, it should be like nothing was configured for sales and returns
NOR
Issue History
2022-01-10 11:29wicherrNew Issue
2022-01-10 11:29wicherrAssigned To => Retail
2022-01-10 11:29wicherrTriggers an Emergency Pack => No
2022-01-10 11:29wicherrTag Attached: NOR
2022-01-18 11:36sebastien_lironTypedesign defect => defect
2022-01-24 06:10ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-01-25 05:31hgbotNote Added: 0134536
2022-01-25 05:35ranjith_qualiantech_comStatusnew => scheduled
2022-01-31 08:25hgbotResolutionopen => fixed
2022-01-31 08:25hgbotStatusscheduled => closed
2022-01-31 08:25hgbotNote Added: 0134676
2022-01-31 08:25hgbotNote Added: 0134677

Notes
(0134536)
hgbot   
2022-01-25 05:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/22 [^]
(0134676)
hgbot   
2022-01-31 08:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 48990f79253499ebe51a009d6477f535d821b047
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 24-01-2022 20:02:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/48990f79253499ebe51a009d6477f535d821b047 [^]

Fixed ISSUE-48365: Added Active Criteria for Loyalty Burn Rules and Conversions

---
M src/org/openbravo/retail/loyalty/programs/term/LoyaltyProgramBurnRules.java
M src/org/openbravo/retail/loyalty/programs/term/LoyaltyProgramConversions.java
---
(0134677)
hgbot   
2022-01-31 08:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/22 [^]