Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045390
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2020-11-06 11:552020-11-16 06:52
ReporteraferrazView Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045390: Error in Count Safe Box with "CashUp - Group payments by expected amount" preference enabled

DescriptionError in Count Safe Box with "CashUp - Group payments by expected amount" preference enabled
Steps To Reproduce- Enable "CashUp - Group payments by expected amount" preference.
- Login in "" terminal.
- Click on Menu -> Count Safe Box
- Click on Next
- Error is thrown in closecash-steps.js line 60 because this.model.get('paymentExpectedList') is undefined:
Uncaught TypeError: Cannot read property 'models' of undefined -> .
TagsNOR
Attached Filespng file icon 45390.png [^] (174,906 bytes) 2020-11-06 11:56


patch file icon I45390_20Q3.patch [^] (18,166 bytes) 2020-11-13 15:11 [Show Content]
patch file icon I45390_20Q3_Fix2.patch [^] (7,190 bytes) 2020-11-15 03:04 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045432 closedjorge-garcia Error in Count Safe Box after enable Safe Box in backend 

-  Notes
(0124308)
hgbot (developer)
2020-11-12 11:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/171 [^]
(0124311)
rafaroda (developer)
2020-11-12 12:23

See also related 0045432
(0124387)
hgbot (developer)
2020-11-16 06:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 3c605a9bfb13ba21b8892d3dee1c3abbceab9b43
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-16T05:52:52+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3c605a9bfb13ba21b8892d3dee1c3abbceab9b43 [^]

Fixed BUG-45390: Fixes js error on moving to 2nd step in Count Safe Box
* This is because paymentExpectedList is empty
* paymentExpectedList is created in CloseCash - initializationProcess (cashup-model.js)
* But however this CloseCash - initializationProcess method is overrided in countsafebox-model.js
* And created of paymentExpectedList, paymentEmptyList is not implemented in new method
* Fixed by adding creation of paymentExpectedList code in new method

---
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
---
(0124388)
hgbot (developer)
2020-11-16 06:52

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1f90e66eb8acfe97a119839d694c39e42b9cb941
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-16T05:52:52+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1f90e66eb8acfe97a119839d694c39e42b9cb941 [^]

Related to Issue-45390: Moved paymentList creation to separate function
* Therefore it can be shared by both cashup and safe boxes models

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/closecash-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
---
(0124389)
hgbot (developer)
2020-11-16 06:52

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/171 [^]
(0124390)
hgbot (developer)
2020-11-16 06:52

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 536f46925e90e3c79b2ce7fedbad8a24a497d766
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-16T05:52:52+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/536f46925e90e3c79b2ce7fedbad8a24a497d766 [^]

Fixed BUG-45390: Fixed try errors
* payMthds are formed in the respective initializationProcess function

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/closecash-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
---

- Issue History
Date Modified Username Field Change
2020-11-06 11:55 aferraz New Issue
2020-11-06 11:55 aferraz Assigned To => Retail
2020-11-06 11:55 aferraz Triggers an Emergency Pack => No
2020-11-06 11:56 aferraz Tag Attached: NOR
2020-11-06 11:56 aferraz File Added: 45390.png
2020-11-06 12:00 aferraz Resolution time => 1606431600
2020-11-09 02:17 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-11-10 13:21 prakashmurugesan88 Status new => scheduled
2020-11-12 11:10 hgbot Note Added: 0124308
2020-11-12 12:23 rafaroda Relationship added related to 0045432
2020-11-12 12:23 rafaroda Note Added: 0124311
2020-11-13 15:11 prakashmurugesan88 File Added: I45390_20Q3.patch
2020-11-15 03:04 prakashmurugesan88 File Added: I45390_20Q3_Fix2.patch
2020-11-16 06:52 hgbot Resolution open => fixed
2020-11-16 06:52 hgbot Status scheduled => closed
2020-11-16 06:52 hgbot Fixed in Version => RR21Q1
2020-11-16 06:52 hgbot Note Added: 0124387
2020-11-16 06:52 hgbot Note Added: 0124388
2020-11-16 06:52 hgbot Note Added: 0124389
2020-11-16 06:52 hgbot Note Added: 0124390


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker