Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027343Retail ModulesWeb POSpublic2014-08-15 11:302014-08-20 10:36
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR14Q4 
No
0027343: Stabilization: Do not initialize backbone objects in the defaults declaration
If the backbone objects are declared in the defaults, provokes backbone to create an early object.
This is not needed and an unwanted behaviour
Open order.js

Verify that this code is present

  defaults: {
    ...
    multiOrdersList: new Backbone.Collection(),
    ...
    payments: new Backbone.Collection(),
    ...
  },
No tags attached.
related to defect 0027345RR14Q4 closed Orekaria Stabilization: backbone models should not be instanciated in the variables definition 
blocks feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
Issue History
2014-08-15 11:30OrekariaNew Issue
2014-08-15 11:30OrekariaAssigned To => Orekaria
2014-08-15 11:30OrekariaTriggers an Emergency Pack => No
2014-08-15 11:30OrekariaRelationship addedblocks 0027329
2014-08-15 11:34hgbotCheckin
2014-08-15 11:34hgbotNote Added: 0069388
2014-08-15 11:34hgbotStatusnew => resolved
2014-08-15 11:34hgbotResolutionopen => fixed
2014-08-15 11:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e50b139b79d33918ffce110c8949a1cb0ae57e0a [^]
2014-08-15 22:51OrekariaRelationship addedrelated to 0027345
2014-08-20 10:36mtaalNote Added: 0069538
2014-08-20 10:36mtaalStatusresolved => closed

Notes
(0069388)
hgbot   
2014-08-15 11:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e50b139b79d33918ffce110c8949a1cb0ae57e0a
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Aug 15 11:33:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e50b139b79d33918ffce110c8949a1cb0ae57e0a [^]

Fixes issue 27343: the backbone objects are initialized in the initialize method instead of in the defaults...
- minor formatting

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0069538)
mtaal   
2014-08-20 10:36   
Reviewed