Openbravo Issue Tracking System - POS2
View Issue Details
0046841POS2POSpublic2021-05-26 12:052021-10-22 10:03
dbaz 
prakashmurugesan88 
normalminoralways
closedfixed 
5
 
 
No
0046841: Settings not available by configuration should not be shown in settings menu
Settings not available by configuration should not be shown in "Settings" menu.

Having buttons/components disabled in the UI means that, for specific conjunctural reasons, this button cannot be used. Also, ideally, there should be a tooltip explaining why these buttons cannot be used, but this is another FR.

If a button/component/setting cannot be never used, because Role restrictions or because it was configured to avoid having this feature, it should not been shown at all, since it can distract the user and keeping some space for a component cannot be never used (with this specific configuration).
Into the backoffice:
Go to "Touchpoint Type"
In combo box "Show Product Prices" select "Never".

Login into POS2 in a terminal belonging to the previous "Touchpoint Type"
Press "Settings" top-right icon
Notice that "Show Price" setting is there, but disabled.
No tags attached.
Issue History
2021-05-26 12:05dbazNew Issue
2021-05-26 12:05dbazAssigned To => Retail
2021-05-26 12:05dbazTriggers an Emergency Pack => No
2021-05-31 18:02dmiguelezStatusnew => acknowledged
2021-09-24 13:30prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2021-09-24 13:30prakashmurugesan88Statusacknowledged => scheduled
2021-10-04 13:14hgbotNote Added: 0132126
2021-10-21 10:58hgbotResolutionopen => fixed
2021-10-21 10:58hgbotStatusscheduled => closed
2021-10-21 10:58hgbotNote Added: 0132523
2021-10-21 10:58hgbotNote Added: 0132524
2021-10-22 10:03hgbotNote Added: 0132558
2021-10-22 13:07guilleaerNote Deleted: 0132558

Notes
(0132126)
hgbot   
2021-10-04 13:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/641 [^]
(0132523)
hgbot   
2021-10-21 10:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: c4b813290cfd63356ece01ab4add2c51effb3bb8
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-10-21T10:43:09+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/c4b813290cfd63356ece01ab4add2c51effb3bb8 [^]

Fixed BUG-46841: Hide disabled setting buttons instead of showing them disabled

---
M web-jspack/org.openbravo.core2/src/components/SettingsButton/SettingItem/SettingItem.scss
M web-jspack/org.openbravo.core2/src/components/SettingsButton/SettingItem/__test__/SettingItem.test.jsx
---
(0132524)
hgbot   
2021-10-21 10:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/641 [^]