Openbravo Issue Tracking System - Retail Modules
View Issue Details
0025850Retail ModulesWeb POSpublic2014-02-26 18:072014-03-07 08:11
malsasua 
marvintm 
normalminoralways
closedfixed 
20Community Appliance
 
RR14Q2 
marvintm
No
0025850: error to apply a discount
it there are two receipts opened in WEB POS and a discount is applied twice in the same order, error is returned
. create a new receipt (docNo 1):
. add product
. create a new receipt (docNo 2):
. add product
. go to receipt docNo1
. apply discount to the line: disc_5_var_perc-5
. apply again a new discount in the same line
error is returned:
Cannot call method 'getComponents' of null.
error is generated in the line 361 of file ob-scrollabletable.js:
_.each(tr.getParent().getComponents(), function (comp) {

tr.getParent() is null
No tags attached.
Issue History
2014-02-26 18:07malsasuaNew Issue
2014-02-26 18:07malsasuaAssigned To => marvintm
2014-02-26 18:07malsasuaTriggers an Emergency Pack => No
2014-02-27 18:24hgbotCheckin
2014-02-27 18:24hgbotNote Added: 0064662
2014-02-27 18:24hgbotStatusnew => resolved
2014-02-27 18:24hgbotResolutionopen => fixed
2014-02-27 18:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21104bcec17176def5539db8bd55f904d039de25 [^]
2014-02-28 09:50hgbotCheckin
2014-02-28 09:50hgbotNote Added: 0064671
2014-03-05 11:26marvintmReview Assigned To => marvintm
2014-03-05 11:26marvintmStatusresolved => closed
2014-03-05 11:26marvintmFixed in Version => RR14Q2
2014-03-06 15:44hgbotCheckin
2014-03-06 15:44hgbotNote Added: 0064921
2014-03-06 15:44hgbotStatusclosed => resolved
2014-03-06 15:44hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21104bcec17176def5539db8bd55f904d039de25 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.cirque/rev/21104bcec17176def5539db8bd55f904d039de25 [^]
2014-03-06 15:44hgbotCheckin
2014-03-06 15:44hgbotNote Added: 0064922
2014-03-07 08:11malsasuaNote Added: 0064952
2014-03-07 08:11malsasuaStatusresolved => closed

Notes
(0064662)
hgbot   
2014-02-27 18:24   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 21104bcec17176def5539db8bd55f904d039de25
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Feb 27 16:31:36 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21104bcec17176def5539db8bd55f904d039de25 [^]

fixed issue 25850: If two receipts are opened the events for destroyed components are ignored. Also discretionary discounts will work fine

---
M web/org.openbravo.mobile.core/source/component/ob-scrollabletable.js
---
(0064671)
hgbot   
2014-02-28 09:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c5fa8c3316a78e338f87e00426a34d68f47ffffd
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Feb 28 09:50:24 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c5fa8c3316a78e338f87e00426a34d68f47ffffd [^]

related to issue 25850: Selection is working fine again

---
M web/org.openbravo.mobile.core/source/component/ob-scrollabletable.js
---
(0064921)
hgbot   
2014-03-06 15:44   
Repository: erp/pmods/org.openbravo.mobile.core.cirque
Changeset: 21104bcec17176def5539db8bd55f904d039de25
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Feb 27 16:31:36 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.cirque/rev/21104bcec17176def5539db8bd55f904d039de25 [^]

fixed issue 25850: If two receipts are opened the events for destroyed components are ignored. Also discretionary discounts will work fine

---
M web/org.openbravo.mobile.core/source/component/ob-scrollabletable.js
---
(0064922)
hgbot   
2014-03-06 15:44   
Repository: erp/pmods/org.openbravo.mobile.core.cirque
Changeset: c5fa8c3316a78e338f87e00426a34d68f47ffffd
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Feb 28 09:50:24 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.cirque/rev/c5fa8c3316a78e338f87e00426a34d68f47ffffd [^]

related to issue 25850: Selection is working fine again

---
M web/org.openbravo.mobile.core/source/component/ob-scrollabletable.js
---
(0064952)
malsasua   
2014-03-07 08:11   
reclosed