Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041541Retail ModulesWeb POSpublic2019-08-05 09:482019-09-30 11:36
njimenez 
ranjith_qualiantech_com 
urgentmajoralways
closedno change required 
5
 
 
marvintm
No
0041541: Cash Management events are not saved if the terminal is refreshed before the process is finished
The cash management information generated by doing a process like cash deposits or cash withdrawals is lost if the user refresh the terminal tapping F5.
1. Navigate to Pos terminal and log in.
2. Go to the main manu and select "Cash Management"
3. Make a cash deposit of 50
4. Select Backoffice transfer to VBS
5. Tap F5

Result: The information of the cash deposit event has disappeared
Expected result: The information produced by the cash deposit event should be saved even the user refresh the terminal.
No tags attached.
Issue History
2019-08-05 09:48njimenezNew Issue
2019-08-05 09:48njimenezAssigned To => Retail
2019-08-05 09:48njimenezTriggers an Emergency Pack => No
2019-08-28 07:15guillermogilResolution time => 1568066400
2019-08-28 12:47ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-08-28 12:47ranjith_qualiantech_comStatusnew => scheduled
2019-09-04 09:11hgbotCheckin
2019-09-04 09:11hgbotNote Added: 0114388
2019-09-04 09:11hgbotStatusscheduled => resolved
2019-09-04 09:11hgbotResolutionopen => fixed
2019-09-04 09:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/112e49cbb10111f7a03f6eb69762511d2d0e74f2 [^]
2019-09-13 09:57marvintmNote Added: 0114559
2019-09-13 09:57marvintmStatusresolved => new
2019-09-13 09:57marvintmResolutionfixed => open
2019-09-16 12:20ranjith_qualiantech_comStatusnew => scheduled
2019-09-23 12:32hgbotCheckin
2019-09-23 12:32hgbotNote Added: 0114723
2019-09-23 12:32hgbotStatusscheduled => resolved
2019-09-23 12:32hgbotResolutionopen => fixed
2019-09-23 12:32hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/112e49cbb10111f7a03f6eb69762511d2d0e74f2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8515e0322c67504129248091a63f8b9ebaec86fe [^]
2019-09-23 12:32hgbotCheckin
2019-09-23 12:32hgbotNote Added: 0114724
2019-09-27 11:22marvintmResolution time1568066400 => 1570226400
2019-09-27 11:32hgbotCheckin
2019-09-27 11:32hgbotNote Added: 0114838
2019-09-27 11:32hgbotCheckin
2019-09-27 11:32hgbotNote Added: 0114839
2019-09-27 11:46marvintmStatusresolved => new
2019-09-27 11:46marvintmResolutionfixed => open
2019-09-30 11:36marvintmReview Assigned To => marvintm
2019-09-30 11:36marvintmNote Added: 0114859
2019-09-30 11:36marvintmStatusnew => closed
2019-09-30 11:36marvintmResolutionopen => no change required

Notes
(0114388)
hgbot   
2019-09-04 09:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 112e49cbb10111f7a03f6eb69762511d2d0e74f2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Sep 04 12:41:36 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/112e49cbb10111f7a03f6eb69762511d2d0e74f2 [^]

Fixed issue 41541 : Cash Management deposit/drop events should be saved

* In Cash Management, When deposit/drop event take place, it should be saved in local db.
  Previously it was saved in local db, when clicking Done button.
  By doing this, events will be retained when doing refresh.
  If we click Cancel, those events will be deleted.

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/cashmgmt/view/cashmgmt.js
---
(0114559)
marvintm   
2019-09-13 09:57   
The solution is not correct. Now cash management records are being deleted, and this means that they don't appear if later on you go back to the cash management window, and they also don't appear in the cashup report.
(0114723)
hgbot   
2019-09-23 12:32   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8515e0322c67504129248091a63f8b9ebaec86fe
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Sep 23 16:02:23 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8515e0322c67504129248091a63f8b9ebaec86fe [^]

Fixed issue 41541 : Cash Management deposit/drop events should be retained on reload

* Backed out changeset: 112e49cbb101
* Cash Management deposit/drop events should be retained if
  1) When reloading the pos
  2) When clicking Cancel and back to Cash Management Window
* Cash Management deposit/drop events should not be retained if
  1) If user logs out
  2) If user opened Cash Up Window
* Refactored preLogoutActions function

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/cashmgmt/view/cashmgmt.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0114724)
hgbot   
2019-09-23 12:32   
Repository: tools/automation/pi-mobile
Changeset: bba1899e9c1d42f6990013bb6f975a38f5545067
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Sep 23 16:02:33 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/bba1899e9c1d42f6990013bb6f975a38f5545067 [^]

Verifies issue 41541 : Added automated test 'I41541_VerifyCashManagementEventsOnReload'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I27309_SameDocumentnoAfterNavigatingCashManagementCashUp.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I41541_VerifyCashManagementEventsOnReload.java
---
(0114838)
hgbot   
2019-09-27 11:32   
Repository: tools/automation/pi-mobile
Changeset: 3466549fae1de5f2852953fac0e30ef73f8be720
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 27 14:59:03 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3466549fae1de5f2852953fac0e30ef73f8be720 [^]

Verifies issue 41541 : Backed out changeset: bba1899e9c1d

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I27309_SameDocumentnoAfterNavigatingCashManagementCashUp.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I41541_VerifyCashManagementEventsOnReload.java
---
(0114839)
hgbot   
2019-09-27 11:32   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 47a38a6d2e3029a3b1bd0991a41728845ad5aa70
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 27 14:56:29 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/47a38a6d2e3029a3b1bd0991a41728845ad5aa70 [^]

Related to issue 41541 : Backed out changeset: 8515e0322c67

* Backed out changeset: 112e49cbb101

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0114859)
marvintm   
2019-09-30 11:36   
After further discussion, we have decided that it doesn't make sense to do this change, as this would change fundamentally the way the window works, and we have decided that this should not happen.