Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030848Retail ModulesWeb POSpublic2015-09-16 19:112015-11-29 21:20
egoitz 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR16Q1 
guilleaer
No
0030848: The cash management is not restored after clean the cache
The deposit and withdrawals are not recovered after clean the cache so you can not see them on the cashup report if you do the cashup after remove the cache.
-Login on the webpos
-Execute a deposit
-Clean the cache
-Login again and execute the cashup.
*You don't see the deposit on the cashup report
RoadMapAccelerator
Issue History
2015-09-16 19:11egoitzNew Issue
2015-09-16 19:11egoitzAssigned To => Retail
2015-09-16 19:11egoitzTriggers an Emergency Pack => No
2015-09-28 23:03fmolinaStatusnew => scheduled
2015-09-28 23:03fmolinaAssigned ToRetail => fmolina
2015-09-28 23:06fmolinaAssigned Tofmolina =>
2015-09-28 23:06fmolinaStatusscheduled => acknowledged
2015-10-02 13:33egoitzTag Attached: RoadMapAccelerator
2015-10-13 12:22VictorVillarAssigned To => Retail
2015-11-11 10:35jorge-garciaAssigned ToRetail => jorge-garcia
2015-11-16 17:44hgbotCheckin
2015-11-16 17:44hgbotNote Added: 0081897
2015-11-16 17:44hgbotStatusacknowledged => resolved
2015-11-16 17:44hgbotResolutionopen => fixed
2015-11-16 17:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/68b2b29c1711d56ce380e349bec95d39ecb634e0 [^]
2015-11-16 17:45hgbotCheckin
2015-11-16 17:45hgbotNote Added: 0081898
2015-11-16 19:25guilleaerReview Assigned To => guilleaer
2015-11-18 13:29hgbotCheckin
2015-11-18 13:29hgbotNote Added: 0081948
2015-11-18 13:33hgbotCheckin
2015-11-18 13:33hgbotNote Added: 0081949
2015-11-29 21:20guilleaerStatusresolved => closed
2015-11-29 21:20guilleaerFixed in Version => RR16Q1

Notes
(0081897)
hgbot   
2015-11-16 17:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 68b2b29c1711d56ce380e349bec95d39ecb634e0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Nov 16 15:24:13 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/68b2b29c1711d56ce380e349bec95d39ecb634e0 [^]

Fixed issue 30848: The cash management is not restored after clean the cache

The feature requested is that the cashmanagement must be sent from the server
if the cahed data is not available.

The solution is to load the cash Management in the Cash Up Json and save the
information in the client side (local db).

---
M src/org/openbravo/retail/posterminal/master/Cashup.java
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0081898)
hgbot   
2015-11-16 17:45   
Repository: tools/automation/pi-mobile
Changeset: 5920d259eeea7d2850adf5bb575d7c8e334a960c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Nov 16 15:20:32 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5920d259eeea7d2850adf5bb575d7c8e334a960c [^]

Verifies issue 30848: The cash management is not restored after clean the cache

Added test I30848_CashMgmtRecoverAfterDeletingCache

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30848_CashMgmtRecoverAfterDeletingCache.java
---
(0081948)
hgbot   
2015-11-18 13:29   
Repository: tools/automation/pi-mobile
Changeset: 6eeea0ef240e26462ebde8a0d79616fa59b3cdfe
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 17 18:00:51 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6eeea0ef240e26462ebde8a0d79616fa59b3cdfe [^]

Verifies issue 30848: The cash management is not restored after clean the cache

Some changes has been made in the test to ensure there is enough cash to do all
the transactions of the test.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30848_CashMgmtRecoverAfterDeletingCache.java
---
(0081949)
hgbot   
2015-11-18 13:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a0e77a4d5a61828c879713cf8a66376ec42b9a82
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 17 18:03:59 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a0e77a4d5a61828c879713cf8a66376ec42b9a82 [^]

Related to issue 30848: The cash management is not restored after clean cache

Some error callbacks has been added for some functions (saving the TaxCashup,
CashMamagement and PaymentMethod models).

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---