Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030453Retail ModulesCash uppublic2015-07-29 17:082016-06-14 12:09
migueldejuana 
migueldejuana 
normalminoralways
scheduledopen 
5
RR15Q1.5 
 
No
0030453: Retrieving cashup info from backend fails in one case
When we are creating a new cashup(OB.UTIL.createNewCashup) if the previous cashup in the client ddbb is not processed yet(That can happen if we press 'Post, print and Close' and then press F5) we will retrieve cashup info from backend.

The retrieved object has the methods of terminal, but these methods do not have paymentTypeId as expected. It will not give an error, but startingCash will not be updated with the amountToKeep of the last cashup.

It is only reproducible en RR15Q1.5 because we have added in Q2 in advance transactionality in Cashup process, however we should fix it because is wrong and could exist a case not taken into account where we could reproduce this bug.
- Check Current Balance in Financial Account of Cash €: 400€ for example.
- Login
- Go to cashup
- Follow all the steps and leave 300€ to keep for Cash € payment method
- Press 'Post, print and Close' and immediately press F5
- Check startingCash, it is 400€ and it should be 300€
No tags attached.
diff changeVarName.diff (5,431) 2015-07-29 17:11
https://issues.openbravo.com/file_download.php?file_id=8317&type=bug
Issue History
2015-07-29 17:08migueldejuanaNew Issue
2015-07-29 17:08migueldejuanaAssigned To => migueldejuana
2015-07-29 17:08migueldejuanaTriggers an Emergency Pack => No
2015-07-29 17:11migueldejuanaFile Added: changeVarName.diff
2015-07-29 17:12migueldejuanaNote Added: 0079119
2015-07-29 17:21migueldejuanaTarget Version => RR15Q4
2015-09-29 14:46OrekariaTarget VersionRR15Q4 => RR16Q1
2015-12-22 18:33OrekariaTarget VersionRR16Q1 => RR16Q2
2015-12-22 18:36OrekariaStatusnew => scheduled
2016-03-31 11:48migueldejuanaTarget VersionRR16Q2 => RR16Q3
2016-06-14 12:09marvintmTarget VersionRR16Q3 =>

Notes
(0079119)
migueldejuana   
2015-07-29 17:12   
Find attached a diff to fix it in RR15Q1.5