Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037177Retail ModulesWeb POSpublic2017-06-11 17:192017-10-31 09:34
mtaal 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR17Q2.4RR17Q2.4 
marvintm
No
0037177: Do not do automatic incremental load at login
Currently the system always does incremental load of data at login. This causes the login to be do many (40+) requests at login to load master data. In some user cases this incremental load is not needed at every login. This is most apparent if there are many logins per day and incremental data period is less than the time between logins.




Login, check the requests
Preference controlled.

At login check if an incremental load is required using the incremental load setting. If no incremental load is needed then do not do the incremental load.

Implement this behavior with a preference, the default behavior should be the current one (always do incremental load)
No tags attached.
blocks feature request 0036224RR17Q3 closed mtaal Do not do automatic incremental load at login 
Issue History
2017-10-27 11:29jorge-garciaTypefeature request => backport
2017-10-27 11:29jorge-garciaTarget VersionRR17Q3 => RR17Q2.4
2017-10-27 12:10hgbotCheckin
2017-10-27 12:10hgbotNote Added: 0100103
2017-10-27 12:10hgbotStatusscheduled => resolved
2017-10-27 12:10hgbotResolutionopen => fixed
2017-10-27 12:10hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c2f8a3225e88c389bc3032eb5068798f8425327c [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal/rev/4a4e7cd1cc0c879671bb131a8dc9f3371561a806 [^]
2017-10-27 12:11hgbotCheckin
2017-10-27 12:11hgbotNote Added: 0100106
2017-10-27 12:12jorge-garciaAssigned Tomtaal => jorge-garcia
2017-10-31 09:34marvintmStatusresolved => closed
2017-10-31 09:34marvintmFixed in Version => RR17Q2.4

Notes
(0100103)
hgbot   
2017-10-27 12:10   
Repository: retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal
Changeset: 4a4e7cd1cc0c879671bb131a8dc9f3371561a806
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 11:15:27 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.retail.posterminal/rev/4a4e7cd1cc0c879671bb131a8dc9f3371561a806 [^]

Fixes issue 37177: Do not do automatic incremental load at login

Schedule next inc-load at the correct interval

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0100106)
hgbot   
2017-10-27 12:11   
Repository: retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core
Changeset: 3a2aed002688335ed32f31298b4385a6afb92a10
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Oct 27 11:13:22 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.4/org.openbravo.mobile.core/rev/3a2aed002688335ed32f31298b4385a6afb92a10 [^]

Related to issue 37177: Do not do automatic incremental load at login

Add preference to disable auto-load at login, in case preference is set do not do auto-load

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---