Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035881Retail ModulesWeb POSpublic2017-04-28 13:582017-05-15 09:31
Asantos9 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0035881: 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.
depends on backport 0035952RR17Q2.1 closed jorge-garcia Cash management is not working with multiple transactions 
diff cashManagementIssue.diff (683) 2017-04-28 13:58
https://issues.openbravo.com/file_download.php?file_id=10701&type=bug
Issue History
2017-04-28 13:58Asantos9New Issue
2017-04-28 13:58Asantos9Assigned To => Retail
2017-04-28 13:58Asantos9File Added: cashManagementIssue.diff
2017-04-28 13:58Asantos9Resolution time => 1494540000
2017-04-28 13:58Asantos9Triggers an Emergency Pack => No
2017-04-28 13:59Asantos9Regression introduced in release => pi
2017-05-02 11:49jorge-garciaAssigned ToRetail => jorge-garcia
2017-05-02 11:49jorge-garciaStatusnew => acknowledged
2017-05-09 09:03jorge-garciaStatusacknowledged => scheduled
2017-05-09 09:29jorge-garciaRegression introduced in releasepi =>
2017-05-09 09:36hgbotCheckin
2017-05-09 09:36hgbotNote Added: 0096467
2017-05-09 09:36hgbotStatusscheduled => resolved
2017-05-09 09:36hgbotResolutionopen => fixed
2017-05-09 09:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a3609f6d3bbc98a815b35a8c52c87e8c8bee552 [^]
2017-05-09 09:37hgbotCheckin
2017-05-09 09:37hgbotNote Added: 0096468
2017-05-09 10:36hgbotCheckin
2017-05-09 10:36hgbotNote Added: 0096481
2017-05-15 09:31marvintmReview Assigned To => marvintm
2017-05-15 09:31marvintmStatusresolved => closed
2017-05-15 09:31marvintmFixed in Version => RR17Q3

Notes
(0096467)
hgbot   
2017-05-09 09:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4a3609f6d3bbc98a815b35a8c52c87e8c8bee552
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 08 17:43:04 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a3609f6d3bbc98a815b35a8c52c87e8c8bee552 [^]

Fixed issue 35881: 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
---
(0096468)
hgbot   
2017-05-09 09:37   
Repository: tools/automation/pi-mobile
Changeset: dc7cb9070e4e8662f0ee9d91bbc4761d4c83b549
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 08 17:48:46 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/dc7cb9070e4e8662f0ee9d91bbc4761d4c83b549 [^]

Verifies issue 35881: Cash management is not working with multiple transactions

Added test I35881_TwoCashMgmtAtOnceInSynchronizeMode.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I35881_TwoCashMgmtAtOnceInSynchronizeMode.java
---
(0096481)
hgbot   
2017-05-09 10:36   
Repository: tools/automation/pi-mobile
Changeset: 251edb16fd42d376f9f28948dee4f8ce08f27855
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue May 09 10:34:26 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/251edb16fd42d376f9f28948dee4f8ce08f27855 [^]

Related to issue 35881: Cash management is not working with multiple transactions

Do a small change in I35881_TwoCashMgmtAtOnceInSynchronizeMode.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I35881_TwoCashMgmtAtOnceInSynchronizeMode.java
---