Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045241Retail ModulesOffline Modepublic2020-10-05 16:182020-10-26 06:48
sebastien_liron 
prakashmurugesan88 
immediatecriticalalways
closedfixed 
5
RR20Q2.2 
RR20Q2.3RR20Q2.3 
Production - Confirmed Stable
No
0045241: cannot open pos for offline pos in remote client mode
Store is running on 20q2 pos, with remote client mode ( set by preferences ).

At some point ( after a delog or after an auto synch), we have a message while refreshing local data that BP info is missing, making it impossible to load the rest ( and to open the pos ), screenshot is attached for reference.
I just tried a scenario like this on 20q2 standard :

- set the client remote mode ( Enable Remote for Customer to Y )
- load the pos and do a sale
- disconnect internet ( I unplugged the cable )
- delog / relog ( as vallblanca )
- see the message
No tags attached.
blocks defect 0045192RR20Q2.2 closed prakashmurugesan88 cannot open pos for offline pos in remote client mode 
Issue History
2020-10-19 08:51marvintmTypedefect => backport
2020-10-19 08:51marvintmTarget VersionRR20Q2.2 => RR20Q2.3
2020-10-23 05:49hgbotNote Added: 0123890
2020-10-26 06:48hgbotResolutionopen => fixed
2020-10-26 06:48hgbotStatusscheduled => closed
2020-10-26 06:48hgbotFixed in Version => RR20Q2.3
2020-10-26 06:48hgbotNote Added: 0123916
2020-10-26 06:48hgbotNote Added: 0123917

Notes
(0123890)
hgbot   
2020-10-23 05:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/133 [^]
(0123916)
hgbot   
2020-10-26 06:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b783892fe1c860ecb7ef3be8a547aa816951f333
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-10-20T13:23:06+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b783892fe1c860ecb7ef3be8a547aa816951f333 [^]

Fixed BUG-45241: Fixed POS loading issue in offline mode with remote for customer is set to Y
* Issue 'column Updated does not exists' occurs while trying to fetch data from local db as it is offline
* When remote for customer is set, local criteria's orderByClause is replaced with remote orderByClause
* Fixed by creating criteria based on remote preference

---
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0123917)
hgbot   
2020-10-26 06:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/133 [^]