Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035844Retail ModulesWeb POSpublic2017-04-25 17:032017-04-26 16:42
lorenzofidalgo 
jorge-garcia 
immediatemajoralways
closedfixed 
5
main 
RR16Q4.3RR16Q4.3 
marvintm
Production - Confirmed Stable
2016-05-18
RR16Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ec493ec95bc15f8139d92de0a50986c5c8f045f [^]
No
0035844: 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 => RR16Q4.3
2017-04-26 09:42jorge-garciaAssigned Tomario_castello => jorge-garcia
2017-04-26 09:54hgbotCheckin
2017-04-26 09:54hgbotNote Added: 0096190
2017-04-26 09:54hgbotStatusscheduled => resolved
2017-04-26 09:54hgbotResolutionopen => fixed
2017-04-26 09:54hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal/rev/19a4091119436127edb1a600f7ce9b2bb4d4d255 [^]
2017-04-26 09:57marvintmReview Assigned To => marvintm
2017-04-26 09:57marvintmStatusresolved => closed
2017-04-26 09:57marvintmFixed in Version => RR16Q4.3
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 [^]

Notes
(0096190)
hgbot   
2017-04-26 09:54   
Repository: retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal
Changeset: 19a4091119436127edb1a600f7ce9b2bb4d4d255
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Apr 26 09:53:48 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.3/org.openbravo.retail.posterminal/rev/19a4091119436127edb1a600f7ce9b2bb4d4d255 [^]

Fixed issue 35844: 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
---