Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031706Retail ModulesLayaway orderpublic2015-11-20 12:152016-02-02 19:53
lorenzofidalgo 
Orekaria 
immediatemajoralways
closedfixed 
5
main 
RR15Q4.2RR15Q4.2 
guilleaer
Packaging and release
main
No
0031706: Clicking more than once in "Layaway" button induces that it is not possible save layaways from that moment
When a receipt is going to be laid away, clicking more than once in "Layaway" button induces that it is not possible to save layaways from that moment. In chrome console several errors can be seen. I have tried to logout/login and it is still not possible to save layaways.
This issue is reproducible in pi, main & RR15Q4, but this is working correctly in RR15Q3.2

Some of the logs of the console are attached
0-Login POS as vallblanca.
1-Add a product to the receipt.
2-In dropdown menu, click "Layaway this Receipt".
3-Click Total Amount button.
4-Open Chrome console.
5-Click quickly several times in "Layaway" button.
6-Defect: Watch errors in chrome console.
7-Defect: Go to "Layaways" section in dropdown menu. Watch the just created layaway does not appear. No more layaways can be saved.

No tags attached.
blocks defect 0031547 closed Orekaria Clicking more than once in "Layaway" button induces that it is not possible save layaways from that moment  
Issue History
2015-12-14 20:04OrekariaTypedefect => backport
2015-12-14 20:04OrekariaTarget Version => RR15Q4.2
2016-01-27 18:12OrekariaAssigned Toguilleaer => Orekaria
2016-01-28 15:27hgbotCheckin
2016-01-28 15:27hgbotNote Added: 0083673
2016-01-28 15:27hgbotStatusscheduled => resolved
2016-01-28 15:27hgbotResolutionopen => fixed
2016-01-28 15:27hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/721f97f7672e75a147b49815e0fa01780d76c878 [^]
2016-02-02 19:53guilleaerReview Assigned Tomarvintm => guilleaer
2016-02-02 19:53guilleaerStatusresolved => closed
2016-02-02 19:53guilleaerFixed in Version => RR15Q4.2

Notes
(0083673)
hgbot   
2016-01-28 15:27   
Repository: retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal
Changeset: 721f97f7672e75a147b49815e0fa01780d76c878
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Dec 14 20:07:44 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/721f97f7672e75a147b49815e0fa01780d76c878 [^]

Fixes issue 31706, backout of 31547: The scrim and the 'showing' value prevent the layaway button from being tapped more than once

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