Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024629Retail ModulesWeb POSpublic2013-08-30 09:372013-09-13 13:21
caristu 
guilleaer 
highminoralways
closedfixed 
5
 
RMP27RMP27 
marvintm
No
0024629: Is not possible to use a custom collection in some web pos components
If we create a new model, its related collection will be loaded after the combo component is defined. This causes that when the component is created the model is not yet available.
1) Create a new custom model
2) Try to use it for example on OB.UI.CustomerComboProperty kind like in the editcreatecustomerinfo.js
Change the component definition, to receive the collection name instead of the collection object. Then, initialize the collection on initComponents method of the component, using the provided collection name.
No tags attached.
Issue History
2013-08-30 09:37caristuNew Issue
2013-08-30 09:37caristuAssigned To => guilleaer
2013-08-30 09:37caristuTriggers an Emergency Pack => No
2013-08-30 09:37caristuIssue Monitored: networkb
2013-08-30 09:38caristuSummaryIs not possible to use a custom collection in web pos combos => Is not possible to use a custom collection in some web pos components
2013-08-30 10:19hgbotCheckin
2013-08-30 10:19hgbotNote Added: 0060831
2013-08-30 10:19hgbotStatusnew => resolved
2013-08-30 10:19hgbotResolutionopen => fixed
2013-08-30 10:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78 [^]
2013-09-10 09:54hgbotCheckin
2013-09-10 09:54hgbotNote Added: 0060991
2013-09-10 09:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78 [^]
2013-09-13 13:21marvintmReview Assigned To => marvintm
2013-09-13 13:21marvintmStatusresolved => closed
2013-09-13 13:21marvintmFixed in Version => RMP27

Notes
(0060831)
hgbot   
2013-08-30 10:19   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Aug 30 10:13:01 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78 [^]

fixed issue 24629: Customer combos can be used by models created through a module

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/editcreatecustomerform.js
---
(0060991)
hgbot   
2013-09-10 09:54   
Repository: erp/pmods/org.openbravo.retail.posterminal-levelpricing
Changeset: 866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Aug 30 10:13:01 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/866842e5b83c6fcc988a7b0a9d5c9d5a4550fd78 [^]

fixed issue 24629: Customer combos can be used by models created through a module

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/components/sharedcomponents.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/editcreatecustomerform.js
---