Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049390Retail ModulesWeb POS Hardware Managerpublic2022-05-24 18:052022-06-09 11:07
sofidossant 
rqueralta 
highmajoralways
closedfixed 
5
pi 
RR22Q3 
No
0049390: Problem with the Preferences called "Web POS action Print cash management" and "Web POS action Print cash up"
The preferences called "Web POS action Print cash management" and "Web POS action Print cash up" don't works.
In the code, only check if the preference is there:
(OB.MobileApp.model.hasPermission('OBPOS_print.cashup'))
or
(OB.MobileApp.model.hasPermission('OBPOS_print.cashmanagement'))
and we don't verificate them value.


1 - Configurate the localhost for the HM
2 - Configurate the preferences "Web POS action Print cash management" and "Web POS action Print cash up" with N (SELECTED)
3 - Open terminal
4 - Do a cashup (PRINT)
5 - Open the terminal
6 - Do a cash management (PRINT)

Attached the video
Change the code

(OB.MobileApp.model.hasPermission('OBPOS_print.cashup'))
or
(OB.MobileApp.model.hasPermission('OBPOS_print.cashmanagement'))

For

(OB.MobileApp.model.hasPermission('OBPOS_print.cashup', true))
or
(OB.MobileApp.model.hasPermission('OBPOS_print.cashmanagement', true))
No tags attached.
Issue History
2022-05-24 18:05sofidossantNew Issue
2022-05-24 18:05sofidossantAssigned To => Triage Platform Conn
2022-05-24 18:05sofidossantTriggers an Emergency Pack => No
2022-05-24 18:12adrianromeroAssigned ToTriage Platform Conn => Retail
2022-05-24 18:20sofidossantNote Added: 0137680
2022-05-31 21:36rqueraltaAssigned ToRetail => rqueralta
2022-05-31 21:36rqueraltaStatusnew => scheduled
2022-06-08 15:11hgbotNote Added: 0138166
2022-06-09 11:07hgbotResolutionopen => fixed
2022-06-09 11:07hgbotStatusscheduled => closed
2022-06-09 11:07hgbotFixed in Version => RR22Q3
2022-06-09 11:07hgbotNote Added: 0138202
2022-06-09 11:07hgbotNote Added: 0138203

Notes
(0137680)
sofidossant   
2022-05-24 18:20   
https://drive.google.com/file/d/1L6hUc7f6goPjPLRQBuQWTyi0Huk7QeIk/view?usp=sharing [^]
(0138166)
hgbot   
2022-06-08 15:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/822 [^]
(0138202)
hgbot   
2022-06-09 11:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e99ae8534511870266ed373dbf1a90293f1aa392
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 09-06-2022 09:07:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e99ae8534511870266ed373dbf1a90293f1aa392 [^]

Fixed BUG-49390: Verify the OBPOS_print.cashmanagement and OBPOS_print.cashup preference value

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
M web/org.openbravo.retail.posterminal/js/utils/cashManagementUtils.js
---
(0138203)
hgbot   
2022-06-09 11:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/822 [^]