Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046122Retail ModulesWeb POSpublic2021-03-23 14:182021-03-29 07:57
jetxarri 
rqueralta 
urgentmajoralways
closedfixed 
5
RR20Q3.4 
RR21Q2 
marvintm
No
0046122: Javascript error when executing Count Safe Box process
The problem is that a JS issue is displayed in the console but as the Web POS is going to execute a logout nothing happens for the user.
Configuration:
1. Log into retail
2. Create a new Financial Account as image2.
3. Define a new payment method for the safe box VBSB03 as image3
4. In the 'Channel - Touchpoint Type'=VBS POS Safe Box Terminal Type, define the payment method 'Voucher' as 'Defined in Safe Box'=Yes.
4. Go throw all the steps and execute the count safe box
file org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
var cashUpReport = new OB.Model.CashUp(),
                      countCashSummary = this.getCountCashSummary();
                    OB.UTIL.clone(
                      this.get('closeCashReport').at(0),
                      cashUpReport
                    );

Define "var me = this" and replace this with me
NOR
related to defect 0046123 closed rqueralta Incompatibility fix for issue 45905 module org.openbravo.retail.maxlevelofcash is broken 
related to defect 0046121 closed rqueralta Next button enabled in Count Safe Box 
related to defect 0045908 closed rqueralta js error when 'Count Safe Box' 
jpg image2.JPG (183,982) 2021-03-23 14:19
https://issues.openbravo.com/file_download.php?file_id=15452&type=bug
jpg
Issue History
2021-03-23 14:18jetxarriNew Issue
2021-03-23 14:18jetxarriAssigned To => Retail
2021-03-23 14:18jetxarriTriggers an Emergency Pack => No
2021-03-23 14:19jetxarriFile Added: image2.JPG
2021-03-23 14:21jetxarriNote Added: 0126852
2021-03-23 14:34rafarodaTag Attached: NOR
2021-03-23 14:34rafarodaRelationship addedrelated to 0046123
2021-03-23 14:35rafarodaRelationship addedrelated to 0046121
2021-03-23 14:37rafarodaRelationship addedrelated to 0045908
2021-03-23 14:39rafarodaResolution time => 1617919200
2021-03-23 21:08rqueraltaAssigned ToRetail => rqueralta
2021-03-23 21:09rqueraltaStatusnew => scheduled
2021-03-26 04:08hgbotNote Added: 0126935
2021-03-29 07:56hgbotNote Added: 0126972
2021-03-29 07:56hgbotNote Added: 0126973
2021-03-29 07:56marvintmStatusscheduled => resolved
2021-03-29 07:56marvintmFixed in Version => RR21Q2
2021-03-29 07:56marvintmResolutionopen => fixed
2021-03-29 07:57marvintmReview Assigned To => marvintm
2021-03-29 07:57marvintmStatusresolved => closed

Notes
(0126852)
jetxarri   
2021-03-23 14:21   
Step 2,3,4(one) are not necessary. It is only necessary to configure a terminal with safe box
(0126935)
hgbot   
2021-03-26 04:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/352 [^]
(0126972)
hgbot   
2021-03-29 07:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ebb599fb25ce728a15141109a8a4db3c912cd8c0
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-03-29T05:56:36+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ebb599fb25ce728a15141109a8a4db3c912cd8c0 [^]

Fix BUG-46122: Defined "var me = this" and replaced "this" with "me"

---
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
---
(0126973)
hgbot   
2021-03-29 07:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/352 [^]