Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036224Retail ModulesWeb POSpublic2017-06-11 17:192017-10-27 11:29
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
RR17Q3 
marvintm
No
0036224: 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.
depends on backport 0037177RR17Q2.4 closed jorge-garcia Do not do automatic incremental load at login 
related to feature request 0036248 new Retail Add menu option to reload master data from server 
related to defect 0037129 closed Sandrahuguet Do not do automatic incremental load at login feature does not work correctly in all cases. 
diff core-prevent-inc-load.diff (2,504) 2017-06-15 23:17
https://issues.openbravo.com/file_download.php?file_id=10856&type=bug
diff retail-prevent-inc-load.diff (2,305) 2017-06-15 23:17
https://issues.openbravo.com/file_download.php?file_id=10857&type=bug
Issue History
2017-06-11 17:19mtaalNew Issue
2017-06-11 17:19mtaalAssigned To => mtaal
2017-06-11 17:19mtaalTriggers an Emergency Pack => No
2017-06-11 17:21mtaalFile Added: retail-prevent-inc-load.diff
2017-06-11 17:21mtaalFile Added: core-prevent-inc-load.diff
2017-06-13 17:08mtaalFile Deleted: core-prevent-inc-load.diff
2017-06-13 17:08mtaalFile Added: core-prevent-inc-load.diff
2017-06-13 17:16mtaalFile Deleted: retail-prevent-inc-load.diff
2017-06-13 17:16mtaalFile Added: retail-prevent-inc-load.diff
2017-06-13 23:16mtaalRelationship addedblocks 0036248
2017-06-13 23:16mtaalRelationship deletedblocks 0036248
2017-06-13 23:16mtaalRelationship addedrelated to 0036248
2017-06-15 23:17mtaalFile Deleted: core-prevent-inc-load.diff
2017-06-15 23:17mtaalFile Deleted: retail-prevent-inc-load.diff
2017-06-15 23:17mtaalFile Added: core-prevent-inc-load.diff
2017-06-15 23:17mtaalFile Added: retail-prevent-inc-load.diff
2017-06-16 17:25hgbotCheckin
2017-06-16 17:25hgbotNote Added: 0097451
2017-06-16 17:28hgbotCheckin
2017-06-16 17:28hgbotNote Added: 0097452
2017-06-16 17:28hgbotStatusnew => resolved
2017-06-16 17:28hgbotResolutionopen => fixed
2017-06-16 17:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c2f8a3225e88c389bc3032eb5068798f8425327c [^]
2017-06-16 17:32mtaalReview Assigned To => marvintm
2017-06-16 17:32mtaalNote Added: 0097453
2017-06-16 17:32mtaalStatusresolved => closed
2017-06-16 17:32mtaalFixed in Version => RR17Q3
2017-06-16 18:06hgbotCheckin
2017-06-16 18:06hgbotNote Added: 0097455
2017-10-20 10:06SandrahuguetRelationship addedrelated to 0037129
2017-10-27 11:29jorge-garciaNote Added: 0100099
2017-10-27 11:29jorge-garciaStatusclosed => new
2017-10-27 11:29jorge-garciaResolutionfixed => open
2017-10-27 11:29jorge-garciaFixed in VersionRR17Q3 =>
2017-10-27 11:29jorge-garciaStatusnew => scheduled
2017-10-27 11:29jorge-garciaStatusscheduled => resolved
2017-10-27 11:29jorge-garciaResolutionopen => fixed
2017-10-27 11:29jorge-garciaStatusresolved => closed

Notes
(0097451)
hgbot   
2017-06-16 17:25   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0392d99a6e9103ed5f3c0b818773b803965eb263
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 16 17:25:05 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0392d99a6e9103ed5f3c0b818773b803965eb263 [^]

Related to issue 36224: 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
---
(0097452)
hgbot   
2017-06-16 17:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c2f8a3225e88c389bc3032eb5068798f8425327c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 16 17:28:20 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c2f8a3225e88c389bc3032eb5068798f8425327c [^]

Fixes issue 36224: 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
---
(0097453)
mtaal   
2017-06-16 17:32   
Was reviewed by Antonio
(0097455)
hgbot   
2017-06-16 18:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a8bb428908450cf275a0d0e4c9ef9a62770a4e87
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 16 18:05:57 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8bb428908450cf275a0d0e4c9ef9a62770a4e87 [^]

Related to issue 36224: Do not do automatic incremental load at login
Solve jsbeautify error

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0100099)
jorge-garcia   
2017-10-27 11:29   
Reopnened to create backport for 17Q2.4