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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049390
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POS Hardware Managermajoralways2022-05-24 18:052022-06-09 11:07
ReportersofidossantView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR22Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049390: Problem with the Preferences called "Web POS action Print cash management" and "Web POS action Print cash up"

DescriptionThe 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.


Steps To Reproduce1 - 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
Proposed SolutionChange 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))
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137680)
sofidossant (developer)
2022-05-24 18:20

https://drive.google.com/file/d/1L6hUc7f6goPjPLRQBuQWTyi0Huk7QeIk/view?usp=sharing [^]
(0138166)
hgbot (developer)
2022-06-08 15:11

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/822 [^]
(0138202)
hgbot (developer)
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 (developer)
2022-06-09 11:07

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/822 [^]

- Issue History
Date Modified Username Field Change
2022-05-24 18:05 sofidossant New Issue
2022-05-24 18:05 sofidossant Assigned To => Triage Platform Conn
2022-05-24 18:05 sofidossant Triggers an Emergency Pack => No
2022-05-24 18:12 adrianromero Assigned To Triage Platform Conn => Retail
2022-05-24 18:20 sofidossant Note Added: 0137680
2022-05-31 21:36 rqueralta Assigned To Retail => rqueralta
2022-05-31 21:36 rqueralta Status new => scheduled
2022-06-08 15:11 hgbot Note Added: 0138166
2022-06-09 11:07 hgbot Resolution open => fixed
2022-06-09 11:07 hgbot Status scheduled => closed
2022-06-09 11:07 hgbot Fixed in Version => RR22Q3
2022-06-09 11:07 hgbot Note Added: 0138202
2022-06-09 11:07 hgbot Note Added: 0138203


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker