Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034395Retail ModulesWeb POSpublic2016-10-21 13:302016-12-05 17:08
lorenzofidalgo 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
pi 
RR16Q2.5RR16Q2.5 
guilleaer
Production - Confirmed Stable
2016-08-16
RR16Q2.3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a426e814fec5#l2.7 [^]
No
0034395: 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 => RR16Q2.4
2016-11-11 12:48OrekariaTarget VersionRR16Q2.4 => RR16Q2.5
2016-12-02 14:51hgbotCheckin
2016-12-02 14:51hgbotNote Added: 0092036
2016-12-02 14:52hgbotCheckin
2016-12-02 14:52hgbotNote Added: 0092037
2016-12-02 14:52hgbotStatusscheduled => resolved
2016-12-02 14:52hgbotResolutionopen => fixed
2016-12-02 14:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f1edbfb39154c4d941b8eb41c313fff9e150eb6e [^] => http://code.openbravo.com/retail/backports/3.0RR16Q2.5/org.openbravo.retail.posterminal/rev/23fba9172c5fe76dccca561c9dd03ec837a65f75 [^]
2016-12-05 17:08guilleaerReview Assigned To => guilleaer
2016-12-05 17:08guilleaerStatusresolved => closed
2016-12-05 17:08guilleaerFixed in Version => RR16Q2.5

Notes
(0092036)
hgbot   
2016-12-02 14:51   
Repository: retail/backports/3.0RR16Q2.5/org.openbravo.mobile.core
Changeset: c5861d9f8fda4542ff51c293c366ce4465e6aa05
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 02 19:18:14 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.5/org.openbravo.mobile.core/rev/c5861d9f8fda4542ff51c293c366ce4465e6aa05 [^]

Related to issue 34395 : 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
---
(0092037)
hgbot   
2016-12-02 14:52   
Repository: retail/backports/3.0RR16Q2.5/org.openbravo.retail.posterminal
Changeset: 23fba9172c5fe76dccca561c9dd03ec837a65f75
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 02 19:19:57 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.5/org.openbravo.retail.posterminal/rev/23fba9172c5fe76dccca561c9dd03ec837a65f75 [^]

Fixes issue 34395 : 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
---