Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035843Retail ModulesWeb POSpublic2017-04-25 17:032017-04-26 17:47
lorenzofidalgo 
jorge-garcia 
immediatemajoralways
closedfixed 
5
main 
RR17Q1.1RR17Q1.1 
guilleaer
Production - Confirmed Stable
2016-05-18
RR16Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ec493ec95bc15f8139d92de0a50986c5c8f045f [^]
No
0035843: Add 2 different products quickly using not including taxes price list breaks the application
With a not including taxes price list, if the POS user adds quickly 2 or more different products, POS breaks (check attached video [1]). Besides, an error is shown in Chrome console (Attached log). I have been able to reproduce this issue in RR16Q2.4 but it is not reproducible in RR16Q1.3.

[1] https://drive.google.com/a/openbravo.com/file/d/0Bz1bUfkEffVIRF9QRDc5OFpLNms/view?usp=sharing [^]
0-Using a not including taxes price list, login POS as posets.
1-In search tab enter GPS and click search button.
2-Once the products have been shown, click quickly in both of them. DEFECT: POS will be broken and no action will be possible.
No tags attached.
blocks defect 0035837 closed jorge-garcia Add 2 different products quickly using not including taxes price list breaks the application 
Issue History
2017-04-26 09:42jorge-garciaTypedefect => backport
2017-04-26 09:42jorge-garciaTarget Version => RR17Q1.1
2017-04-26 12:10jorge-garciaAssigned Tomario_castello => jorge-garcia
2017-04-26 12:13hgbotCheckin
2017-04-26 12:13hgbotNote Added: 0096197
2017-04-26 12:13hgbotStatusscheduled => resolved
2017-04-26 12:13hgbotResolutionopen => fixed
2017-04-26 12:13hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal/rev/f206b7c8310d6f060ca8829aaa7c92abbc06653b [^]
2017-04-26 16:42jorge-garciaRegression date => 2016-05-18
2017-04-26 16:42jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ec493ec95bc15f8139d92de0a50986c5c8f045f [^]
2017-04-26 17:47guilleaerReview Assigned To => guilleaer
2017-04-26 17:47guilleaerStatusresolved => closed
2017-04-26 17:47guilleaerFixed in Version => RR17Q1.1

Notes
(0096197)
hgbot   
2017-04-26 12:13   
Repository: retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal
Changeset: f206b7c8310d6f060ca8829aaa7c92abbc06653b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Apr 26 12:13:14 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal/rev/f206b7c8310d6f060ca8829aaa7c92abbc06653b [^]

Fixed issue 35843: Add 2 different products quickly using not including taxes
price list breaks the application

* Get a copy of lines when calculating taxes because asynchrony can cause
differences in line at different points in the process.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---