Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030611Retail ModulesWeb POSpublic2015-08-19 18:142015-09-11 13:51
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR15Q4RR15Q4 
marvintm
No
0030611: Stabilization: The cash management window is interactive before the Model has been fully loaded
Stabilization: The Cash Management window is interactive before the Model has been fully loaded
In the cashmgmt-model.js file
Verify that the init method contains a cascade of asynchronous calls to initialize the model

Verify that if the cash management is operated fast or in a slow device, the model is not ready and this javascript error shows up:

  Cannot get of null. Caused by the selectedPayment to be null after this line

  if (selectedPayment.get('listdepositsdrops')) {
No tags attached.
related to defect 0030632RR15Q4 closed Orekaria Stabilization: The retail.posterminal window is interactive before the models have been fully loaded 
related to defect 0030633RR15Q4 closed Orekaria Stabilization: The cashup window is interactive before the models have been fully loaded 
blocks defect 0030603RR15Q4 closed Orekaria Stabilization: RR15Q4 related issues 
Issue History
2015-08-19 18:14OrekariaNew Issue
2015-08-19 18:14OrekariaAssigned To => Orekaria
2015-08-19 18:14OrekariaTriggers an Emergency Pack => No
2015-08-19 18:14OrekariaRelationship addedblocks 0030603
2015-08-22 12:57OrekariaRelationship addedrelated to 0030632
2015-08-22 12:58OrekariaRelationship deletedblocks 0030603
2015-08-22 12:58OrekariaRelationship addedblocks 0030603
2015-08-22 12:59OrekariaRelationship addedrelated to 0030633
2015-08-22 13:31OrekariaSummaryStabilization: The Cash Management window is interactive before the Model has been fully loaded => Stabilization: The cash management window is interactive before the Model has been fully loaded
2015-08-22 20:35hgbotCheckin
2015-08-22 20:35hgbotNote Added: 0079611
2015-08-22 20:35hgbotStatusnew => resolved
2015-08-22 20:35hgbotResolutionopen => fixed
2015-08-22 20:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/28b9c528d008db6bd2934d519ef7f9de1428fbe0 [^]
2015-09-11 13:51marvintmReview Assigned To => marvintm
2015-09-11 13:51marvintmStatusresolved => closed
2015-09-11 13:51marvintmFixed in Version => RR15Q4

Notes
(0079611)
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
---