Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030071Retail ModulesCash uppublic2015-06-01 14:182015-06-17 18:09
malsasua 
Retail 
highmajoralways
closedfixed 
20Community Appliance
 
RR15Q2.2RR15Q2.2 
malsasua
No
0030071: duplicated invoices during the cashup process
if the request of cashup is sent twice, the invoices are duplicated
(debugging with eclipse, add a breakpoint in line
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/351d0aafb4d3/src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java#l213 [^] )

. in web pos
. create a receipt
. do and finish a cashup

in eclipse, the execution is stopped by the breakpoint.

. refresh the web pos (clicking F5)

when the web pos has refreshed, then remove the breakpoint and continue the execution in eclipse.

. go to back office, two similar invoices have been created
Approved
blocks defect 0030066 closed marvintm duplicated invoices during the cashup process 
Issue History
2015-06-02 12:23malsasuaTypedefect => backport
2015-06-02 12:23malsasuaTarget Version => RR15Q2.2
2015-06-10 12:49dmitry_mezentsevTag Attached: Approved
2015-06-15 20:03hgbotCheckin
2015-06-15 20:03hgbotNote Added: 0078305
2015-06-15 20:04hgbotStatusscheduled => resolved
2015-06-15 20:04hgbotResolutionopen => fixed
2015-06-15 20:04hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal/rev/388e209090ada6ed2dd18469ed232aec520afc60 [^]
2015-06-17 18:09malsasuaReview Assigned To => malsasua
2015-06-17 18:09malsasuaNote Added: 0078343
2015-06-17 18:09malsasuaStatusresolved => closed
2015-06-17 18:09malsasuaFixed in Version => RR15Q2.2

Notes
(0078305)
hgbot   
2015-06-15 20:03   
Repository: retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal
Changeset: 388e209090ada6ed2dd18469ed232aec520afc60
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 15 20:03:32 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.2/org.openbravo.retail.posterminal/rev/388e209090ada6ed2dd18469ed232aec520afc60 [^]

Fixed issue 30071. Now the cash up record will be locked to prevent the execution of two cash ups at the same time.

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0078343)
malsasua   
2015-06-17 18:09   
verified