Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037705Retail ModulesWeb POSpublic2018-01-23 12:522018-07-05 18:03
gorkaion 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
0037705: Done button is only disabled for 1 second. So it is possible to click it twice if synchronization is slow
When the Done button is clicked it is disabled and blocked for just one second. If the process is too slow it is possible to click the button again which leads to unexpected issues.

The button to delete payments is also enabled, so while the user is waiting to finish the Done process it is possible to delete a payment which leads in wrong json messages with uncomplete payments.
On a slow environment where order synchronization takes more than 1 sec.

Click on done and after 1 second click again. Check in the Log Client window that 2 lines appear.
No tags attached.
related to defect 0038175 closed Retail triggerPaymentdonen is only disabled for 1 second. So it is possible to click it twice if synchronization is slow 
causes defect 0038174 closed ranjith_qualiantech_com when DONE button is clicked, screen is freeze 
Issue History
2018-01-23 12:52gorkaionNew Issue
2018-01-23 12:52gorkaionAssigned To => Retail
2018-01-23 12:52gorkaionResolution time => 1517871600
2018-01-23 12:52gorkaionTriggers an Emergency Pack => No
2018-01-26 08:34gorkaionResolution time1517871600 => 1518476400
2018-02-20 11:19jorge-garciaStatusnew => scheduled
2018-02-20 11:19jorge-garciaAssigned ToRetail => jorge-garcia
2018-02-26 15:57hgbotCheckin
2018-02-26 15:57hgbotNote Added: 0102835
2018-02-26 15:57hgbotStatusscheduled => resolved
2018-02-26 15:57hgbotResolutionopen => fixed
2018-02-26 15:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/673ffa9d029c2c2df59bf9b7dd3e80f50215233e [^]
2018-03-06 17:18egoitzIssue Monitored: egoitz
2018-03-07 13:37marvintmReview Assigned To => marvintm
2018-03-07 13:37marvintmStatusresolved => closed
2018-03-07 13:37marvintmFixed in Version => RR18Q2
2018-03-20 10:58egoitzIssue cloned0038175
2018-03-20 10:58egoitzRelationship addedrelated to 0038175
2018-07-05 18:03jfrancesIssue Monitored: jfrances
2018-07-16 17:53maiteRelationship addedcauses 0038174

Notes
(0102835)
hgbot   
2018-02-26 15:57   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 673ffa9d029c2c2df59bf9b7dd3e80f50215233e
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Feb 26 10:50:37 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/673ffa9d029c2c2df59bf9b7dd3e80f50215233e [^]

Fixed issue 37705: Done button is only disabled for 1 second.

The solution is to activate the scrim at the same time the payment
done process is starting.

It is necessary to hide the scrim in case the transaction has failed
or has succeeded.

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