Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045432Retail ModulesWeb POSpublic2020-11-12 11:262020-11-13 07:56
aferraz 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR21Q1 
No
0045432: Error in Count Safe Box after enable Safe Box in backend
Error in Count Safe Box after enable Safe Box in backend
- Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^]
- Open "VBS POS Safe Box Terminal Type" touchpoint type.
- Disable "Defined in Safebox" in "OBPOS_cash" payment method.
- Disable "Requires Safe Box" in "VBS POS Safe Box Terminal Type" touchpoint type.

- Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBSSB1 [^]
- Run a Cashup

- Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^]
- Open "VBS POS Safe Box Terminal Type" touchpoint type.
- Enable "Defined in Safebox" in "OBPOS_cash" payment method.
- Enable "Requires Safe Box" in "VBS POS Safe Box Terminal Type" touchpoint type.

- Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBSSB1 [^]
- Write "VBSB01" in Count Safe Box popup.
- Error is thrown in modalsafebox.js line 84 because OB.UTIL.localStorage.getItem('safeBoxes') is undefined: TypeError: Cannot read property 'find' of null at Object.doCheckSafeBox.
NOR
related to defect 0045390 closed prakashmurugesan88 Error in Count Safe Box with "CashUp - Group payments by expected amount" preference enabled 
png 45432.png (685,565) 2020-11-12 11:44
https://issues.openbravo.com/file_download.php?file_id=15083&type=bug
diff I45432_fix.diff (2,540) 2020-11-12 16:53
https://issues.openbravo.com/file_download.php?file_id=15085&type=bug
Issue History
2020-11-12 11:26aferrazNew Issue
2020-11-12 11:26aferrazAssigned To => Retail
2020-11-12 11:26aferrazTriggers an Emergency Pack => No
2020-11-12 11:42aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21884#r21884
2020-11-12 11:43aferrazResolution time => 1606950000
2020-11-12 11:43aferrazTag Attached: NOR
2020-11-12 11:44aferrazFile Added: 45432.png
2020-11-12 12:23rafarodaRelationship addedrelated to 0045390
2020-11-12 12:23rafarodaNote Added: 0124312
2020-11-12 16:25jorge-garciaAssigned ToRetail => jorge-garcia
2020-11-12 16:25jorge-garciaStatusnew => scheduled
2020-11-12 16:53jorge-garciaFile Added: I45432_fix.diff
2020-11-13 07:54hgbotNote Added: 0124334
2020-11-13 07:56hgbotResolutionopen => fixed
2020-11-13 07:56hgbotStatusscheduled => closed
2020-11-13 07:56hgbotNote Added: 0124335
2020-11-13 07:56hgbotFixed in Version => RR21Q1
2020-11-13 07:56hgbotNote Added: 0124336

Notes
(0124312)
rafaroda   
2020-11-12 12:23   
See also related 0045390
(0124334)
hgbot   
2020-11-13 07:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/174 [^]
(0124335)
hgbot   
2020-11-13 07:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/174 [^]
(0124336)
hgbot   
2020-11-13 07:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 19c683ff48da590ed65cb388f967100f5dba5dfc
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-12T21:41:32+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/19c683ff48da590ed65cb388f967100f5dba5dfc [^]

Fixed BUG-45432: Validated to reload pos when safe box is enabled in backend and not loaded in pos

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