Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031555Retail ModulesLayaway orderpublic2015-11-20 12:152015-12-11 12:15
lorenzofidalgo 
guilleaer 
immediatemajoralways
closedfixed 
5
main 
RR15Q4.1RR15Q4.1 
marvintm
Packaging and release
main
No
0031555: 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-11-21 16:18guilleaerTypedefect => backport
2015-11-21 16:18guilleaerTarget Version => RR15Q4.1
2015-12-09 10:26guilleaerSummary[RR15Q4] Clicking more than once in "Layaway" button induces that it is not possible save layaways from that moment => Clicking more than once in "Layaway" button induces that it is not possible save layaways from that moment
2015-12-10 22:18hgbotCheckin
2015-12-10 22:18hgbotNote Added: 0082658
2015-12-10 22:18hgbotStatusscheduled => resolved
2015-12-10 22:18hgbotResolutionopen => fixed
2015-12-10 22:18hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal/rev/a444f6a16689880ec00539dfe0f443262f4db5d3 [^]
2015-12-11 12:15marvintmReview Assigned To => marvintm
2015-12-11 12:15marvintmStatusresolved => closed
2015-12-11 12:15marvintmFixed in Version => RR15Q4.1

Notes
(0082658)
hgbot   
2015-12-10 22:18   
Repository: retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal
Changeset: a444f6a16689880ec00539dfe0f443262f4db5d3
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 10 09:22:48 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal/rev/a444f6a16689880ec00539dfe0f443262f4db5d3 [^]

Fixed issue 31555: Layaway button is disabled when it is pressed and scrim is shown

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