Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030610Retail ModulesWeb POSpublic2015-08-19 18:092015-09-21 17:39
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR15Q4 
migueldejuana
No
0030610: Stabilization: There should be a way to synchronously initialize the model and then, the view
Stabilization: There should be a way to synchronously initialize the model and then, the view
Open ob-windowmodel.js
Verify that the init method use to call the models, does not provide a callback
No tags attached.
blocks defect 0030603RR15Q4 closed Orekaria Stabilization: RR15Q4 related issues 
Issue History
2015-08-19 18:09OrekariaNew Issue
2015-08-19 18:09OrekariaAssigned To => Orekaria
2015-08-19 18:09OrekariaTriggers an Emergency Pack => No
2015-08-19 18:10OrekariaRelationship addedblocks 0030603
2015-08-22 10:11OrekariaTarget Version => RR15Q4
2015-08-22 20:33hgbotCheckin
2015-08-22 20:33hgbotNote Added: 0079598
2015-08-22 20:33hgbotStatusnew => resolved
2015-08-22 20:33hgbotResolutionopen => fixed
2015-08-22 20:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe671224ba4137dbb646646491cf9140a6a1d981 [^]
2015-08-22 20:33hgbotCheckin
2015-08-22 20:33hgbotNote Added: 0079599
2015-08-22 20:35hgbotCheckin
2015-08-22 20:35hgbotNote Added: 0079610
2015-09-18 11:21mtaalReview Assigned To => migueldejuana
2015-09-21 17:39migueldejuanaNote Added: 0080542
2015-09-21 17:39migueldejuanaStatusresolved => closed

Notes
(0079598)
hgbot   
2015-08-22 20:33   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fe671224ba4137dbb646646491cf9140a6a1d981
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:32:29 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fe671224ba4137dbb646646491cf9140a6a1d981 [^]

Fixes issue 30610: The model and the view can now be initialized before loading

- the process of loading a window now has 4 steps: initModels, initUI, loadModels, renderUI
- the processes are run in cascade

---
M web/org.openbravo.mobile.core/source/component/ob-windowview.js
M web/org.openbravo.mobile.core/source/data/ob-windowmodel.js
---
(0079599)
hgbot   
2015-08-22 20:33   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b2f08f3ad597204f81e06f81790ef6c34c5b0707
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:32:29 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b2f08f3ad597204f81e06f81790ef6c34c5b0707 [^]

Related to issue 30610: Added the deprecation logic

---
M web/org.openbravo.mobile.core/source/component/ob-windowview.js
M web/org.openbravo.mobile.core/source/data/ob-windowmodel.js
M web/org.openbravo.mobile.core/source/main.js
---
(0079610)
hgbot   
2015-08-22 20:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 28b9c528d008db6bd2934d519ef7f9de1428fbe0
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:32:56 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/28b9c528d008db6bd2934d519ef7f9de1428fbe0 [^]

Fixes issue 30611: The Cash Management window is not interactive until the models are ready

- make use of the improvements of the issue 30610
- the entry point has been moved to the end. initializations are first
- the payments variable has been initialized to null
- jsLint

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/cashmgmt/view/cashmgmt.js
---
(0080542)
migueldejuana   
2015-09-21 17:39   
Tested and reviewed in 096c32fd2b54