Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045478Retail ModulesLoyalty Programs for Web POSpublic2020-11-23 14:472020-12-02 17:40
rafaroda 
ranjith_qualiantech_com 
urgentmajorhave not tried
closedfixed 
5
 
 
No
0045478: Loyalty Subscription and Loyalty Card IndexedDB model don't use the flag OBPOS_remote.customer
Loyalty Subscription and Loyalty Card IndexedDB model don't use the flag OBPOS_remote.customer

This makes the IndexedDB tables LoyaltySubscriptions and LoyaltyCard being filled (potentially with millions of records), it should not since we are working with "Enable Remote Customer" = Y
Activate preference "Enable Remote Customer" = Y in an environment with Loyalty subscriptions and loyalty cards

Check the LoyaltySubscriptions and LoyaltyCard tables in IndexedDB
Evaluate the OBPOS_remote.customer prefrence and don't fill these LoyaltySubscriptions and LoyaltyCard tables in IndexedDB if "Enable Remote Customer" = Y
NOR
png Screenshot from 2020-11-23 14-36-23.png (209,980) 2020-11-23 14:47
https://issues.openbravo.com/file_download.php?file_id=15110&type=bug
png

patch 70f16cd4e0a19c2abc2e3f057a3ff18f8f5596f7.patch (1,727) 2020-11-25 14:56
https://issues.openbravo.com/file_download.php?file_id=15129&type=bug
Issue History
2020-11-23 14:47rafarodaNew Issue
2020-11-23 14:47rafarodaAssigned To => Retail
2020-11-23 14:47rafarodaFile Added: Screenshot from 2020-11-23 14-36-23.png
2020-11-23 14:47rafarodaTriggers an Emergency Pack => No
2020-11-23 14:47rafarodaTag Attached: NOR
2020-11-25 08:01marvintmSeveritycritical => major
2020-11-25 14:56cbrazierFile Added: 70f16cd4e0a19c2abc2e3f057a3ff18f8f5596f7.patch
2020-11-30 07:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-12-01 08:02ranjith_qualiantech_comStatusnew => scheduled
2020-12-02 14:49hgbotNote Added: 0124692
2020-12-02 17:40hgbotNote Added: 0124699
2020-12-02 17:40hgbotResolutionopen => fixed
2020-12-02 17:40hgbotStatusscheduled => closed
2020-12-02 17:40hgbotNote Added: 0124700

Notes
(0124692)
hgbot   
2020-12-02 14:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/11 [^]
(0124699)
hgbot   
2020-12-02 17:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/11 [^]
(0124700)
hgbot   
2020-12-02 17:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: b6df76a43ea01053fa982b50337f132071a32f45
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-12-02T21:05:23+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/b6df76a43ea01053fa982b50337f132071a32f45 [^]

Fixed ISSUE-45478: Added isRemote to Loyalty Models
* In remote mode, data should not be loaded for remote models

---
M web/org.openbravo.retail.loyalty.programs/app/model/masterdata/LoyaltyCardModel.js
M web/org.openbravo.retail.loyalty.programs/app/model/masterdata/LoyaltySubscriptionsModel.js
---