Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030210Retail ModulesWeb POSpublic2015-03-16 18:532015-07-27 14:04
jecharri 
aaroncalero 
urgentmajoralways
closedfixed 
5
 
RR15Q2.3RR15Q2.3 
guilleaer
No
0030210: In paymentmethodcashup table one ticket can be added 2 times
In paymentmethodcashup table one ticket can be added 2 times. It seems that under some circumstances is possible to press 2 times done button and this will create the problem with paymentmethod cash up table.
-Go to Web POS
-Do a ticket
-Press in total
-Add the payment
-Press done
-Before the order is saved press F5, you will be able to press again done button and the receipt will be added again to the paymentmethodcashup table
No tags attached.
blocks defect 0029302RR15Q3 closed aaroncalero In paymentmethodcashup table one ticket can be added 2 times 
Issue History
2015-06-19 10:39OrekariaTypedefect => backport
2015-06-19 10:39OrekariaTarget VersionRR15Q3 => RR15Q2.3
2015-07-15 17:34hgbotCheckin
2015-07-15 17:34hgbotNote Added: 0078828
2015-07-15 17:34hgbotStatusscheduled => resolved
2015-07-15 17:34hgbotResolutionopen => fixed
2015-07-15 17:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9013ba1d307c9485a2141b400cb65ddd0f2cc7e6 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.retail.posterminal/rev/74d8592251cb945904412e498a8a6267bac7c603 [^]
2015-07-27 14:04guilleaerReview Assigned Tomarvintm => guilleaer
2015-07-27 14:04guilleaerNote Added: 0079080
2015-07-27 14:04guilleaerStatusresolved => closed
2015-07-27 14:04guilleaerFixed in Version => RR15Q2.3

Notes
(0078828)
hgbot   
2015-07-15 17:34   
Repository: retail/backports/3.0RR15Q2.3/org.openbravo.retail.posterminal
Changeset: 74d8592251cb945904412e498a8a6267bac7c603
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 15 17:34:20 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.retail.posterminal/rev/74d8592251cb945904412e498a8a6267bac7c603 [^]

Fixed issue 30210. In paymentmethodcashup table one ticket can be added 2 times

Refactored the ticket closing process to be done in a sql transaction. Now if the user reloads the application while the closing process is active, all the changes done to the local database will be rolled back

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0079080)
guilleaer   
2015-07-27 14:04   
tested and verified