Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035952Retail ModulesWeb POSpublic2017-04-28 13:582017-06-21 18:27
Asantos9 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q2.1RR17Q2.1 
marvintm
No
0035952: Cash management is not working with multiple transactions
Cash management is not working with multiple transactions. Doing one by one it works well but when it is added more than one transaction, the cash managements events are not creating correctly.
1. Log into WebPOS
2. Click on Menu
3. Scroll down and click on Cash Management
4. Add a Deposit
5. Add a Withdrawall
6. Click Done

Go to backend and note that the second cash management event created has not financial transaction and related transaction.
The issue is that it is adding all payment methods to the payment methods cashup for each cash management done. A solution could be the file attached.
No tags attached.
blocks defect 0035881 closed jorge-garcia Cash management is not working with multiple transactions 
Issue History
2017-05-09 09:03jorge-garciaTypedefect => backport
2017-05-09 09:03jorge-garciaTarget Version => RR17Q2.1
2017-05-09 09:30jorge-garciaRegression introduced in releasepi =>
2017-06-16 14:22hgbotCheckin
2017-06-16 14:22hgbotNote Added: 0097444
2017-06-16 14:22hgbotStatusscheduled => resolved
2017-06-16 14:22hgbotResolutionopen => fixed
2017-06-16 14:22hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal/rev/5b9529c945f9a18838a886043d958786433a0b32 [^]
2017-06-21 18:27marvintmReview Assigned To => marvintm
2017-06-21 18:27marvintmStatusresolved => closed
2017-06-21 18:27marvintmFixed in Version => RR17Q2.1

Notes
(0097444)
hgbot   
2017-06-16 14:22   
Repository: retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal
Changeset: 5b9529c945f9a18838a886043d958786433a0b32
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jun 16 14:01:13 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal/rev/5b9529c945f9a18838a886043d958786433a0b32 [^]

Fixed issue 35952: Cash management is not working with multiple transactions

Add payment method to payment method cashup list only if it’s truly new.

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---