Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030066Retail ModulesCash uppublic2015-06-01 14:182015-06-24 08:53
malsasua 
marvintm 
highmajoralways
closedfixed 
20Community Appliance
 
RR15Q3 
migueldejuana
Production - Confirmed Stable
2014-08-18
RR15Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7134637f50705e964eaa59a1999311980b4b4797 [^]
No
0030066: 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
No tags attached.
depends on backport 0030071RR15Q2.2 closed Retail duplicated invoices during the cashup process 
depends on backport 0030072RR15Q1.5 closed Retail duplicated invoices during the cashup process 
caused by design defect 0027019RR15Q1 closed szapata In Q2 version cash ups and reconciliations are not being created properly 
Issue History
2015-06-01 14:18malsasuaNew Issue
2015-06-01 14:18malsasuaAssigned To => Retail
2015-06-01 14:18malsasuaTriggers an Emergency Pack => No
2015-06-02 12:23malsasuaStatusnew => scheduled
2015-06-05 09:28malsasuaRegression level => Production - Confirmed Stable
2015-06-05 09:28malsasuaRegression date => 2014-08-18
2015-06-05 09:28malsasuaRegression introduced in release => RR15Q1
2015-06-05 09:28malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7134637f50705e964eaa59a1999311980b4b4797 [^]
2015-06-10 12:48dmitry_mezentsevRelationship addedcaused by 0027019
2015-06-15 19:24hgbotCheckin
2015-06-15 19:24hgbotNote Added: 0078304
2015-06-15 19:24hgbotStatusscheduled => resolved
2015-06-15 19:24hgbotResolutionopen => fixed
2015-06-15 19:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8445ab0c60392530d08252844be497a2b5839397 [^]
2015-06-18 17:37marvintmAssigned ToRetail => marvintm
2015-06-24 08:53migueldejuanaReview Assigned To => migueldejuana
2015-06-24 08:53migueldejuanaNote Added: 0078466
2015-06-24 08:53migueldejuanaStatusresolved => closed
2015-06-24 08:53migueldejuanaFixed in Version => RR15Q3

Notes
(0078304)
hgbot   
2015-06-15 19:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8445ab0c60392530d08252844be497a2b5839397
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 15 17:23:24 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8445ab0c60392530d08252844be497a2b5839397 [^]

Fixed issue 30066. 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
---
(0078466)
migueldejuana   
2015-06-24 08:53   
Tested and reviewed in d44b8cfd1584