Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034394Retail ModulesWeb POSpublic2016-10-21 13:302016-12-05 16:49
lorenzofidalgo 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
pi 
RR16Q3.4RR16Q3.4 
guilleaer
Production - Confirmed Stable
2016-08-16
RR16Q2.3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a426e814fec5#l2.7 [^]
No
0034394: Click quickly twice in a product does not add 2 products but 1. In previous releases it did work.
Clicking in a product quickly produces some clicks are not caught by Web POS.
If, f.e., in an empty receipt it is added a new product and the user wants to add two units of the same products, the user would click twice quickly in the same product, but since RR16Q2.3 onwards it is not possible. (The oldest release I have had access to where I have been able to reproduce this issue is RR16Q2.3). In RR16Q1.3 it is working right so this issue is not reproducible.
It has been tested in livebuilds and no extra modules are required.

Videos reproducing the issue performing 3 clicks:
Correct behaviour (RR16Q1.3): https://drive.google.com/open?id=0Bz1bUfkEffVISHR1d2hQMFhXb2s [^]
Wrong behaviour (RR16Q2.3): https://drive.google.com/open?id=0Bz1bUfkEffVIY3F5UnlMY3c2Ykk [^]
0-Login POS as vallblanca.
1-Create a new receipt.
2-Click BROWSE tab and go to Best sellers Category.
3-Now, click twice quickly in "Avalanche transceiver" product. Only one product will be added. In RR16Q1.3 release backwards the performance is better and it is possible to perform that action.
No tags attached.
blocks defect 0034271 closed ranjith_qualiantech_com Click quickly twice in a product does not add 2 products but 1. In previous releases it did work. 
Issue History
2016-11-04 10:58ranjith_qualiantech_comTypedefect => backport
2016-11-04 10:58ranjith_qualiantech_comTarget Version => RR16Q3.3
2016-11-11 12:48OrekariaTarget VersionRR16Q3.3 => RR16Q3.4
2016-12-05 06:47hgbotCheckin
2016-12-05 06:47hgbotNote Added: 0092083
2016-12-05 06:47hgbotCheckin
2016-12-05 06:47hgbotNote Added: 0092084
2016-12-05 06:47hgbotStatusscheduled => resolved
2016-12-05 06:47hgbotResolutionopen => fixed
2016-12-05 06:47hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f1edbfb39154c4d941b8eb41c313fff9e150eb6e [^] => http://code.openbravo.com/retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal/rev/2362f079e1d50faff9b131e4a62d014dc1d4d451 [^]
2016-12-05 16:49guilleaerReview Assigned To => guilleaer
2016-12-05 16:49guilleaerStatusresolved => closed
2016-12-05 16:49guilleaerFixed in Version => RR16Q3.4

Notes
(0092083)
hgbot   
2016-12-05 06:47   
Repository: retail/backports/3.0RR16Q3.4/org.openbravo.mobile.core
Changeset: 9ba14e906bb7ab5a768731a19ccc932cedd55680
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 02 19:22:49 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.4/org.openbravo.mobile.core/rev/9ba14e906bb7ab5a768731a19ccc932cedd55680 [^]

Related to issue 34394 : Set scanningFocus to false to avoid product scanning for services in search tab

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0092084)
hgbot   
2016-12-05 06:47   
Repository: retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal
Changeset: 2362f079e1d50faff9b131e4a62d014dc1d4d451
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 02 19:23:02 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.4/org.openbravo.retail.posterminal/rev/2362f079e1d50faff9b131e4a62d014dc1d4d451 [^]

Fixes issue 34394 : Validating product addition while multiple clicking

* If the product has mandatory services, service screen should shown & only one unit should be added
* If the product doesn't have mandatory services, unit should be added based on no of clicks

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---