Openbravo Issue Tracking System - POS2
View Issue Details
0054986POS2POSpublic2024-03-18 18:252024-03-21 09:06
Lcazaux 
aaroncalero 
urgentmajoralways
closedfixed 
5
 
 
No
0054986: Cannot change loyalty program in POS
When trying to change the loyalty program (which is an access configured via a user action) we get an error message when we are doing it with a manual role (cashier, manager, etc) but it works OK with an automatic role (admin) in POS.
In BO make sure that your role has access to the User Action "Update Loyalty Category"

Log in with a manual role

Go to the window of a client that has a Loyalty Program

Click on Update Loyalty Program

Try to change it

Error message as screenshot
No tags attached.
png 2024-03-18_18h23_16.png (441,113) 2024-03-18 18:25
https://issues.openbravo.com/file_download.php?file_id=19560&type=bug
Issue History
2024-03-18 18:25LcazauxNew Issue
2024-03-18 18:25LcazauxAssigned To => Retail
2024-03-18 18:25LcazauxTriggers an Emergency Pack => No
2024-03-18 18:25LcazauxFile Added: 2024-03-18_18h23_16.png
2024-03-18 18:26LcazauxSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27708#r27708
2024-03-18 18:29avicentePriorityhigh => urgent
2024-03-20 11:43aaroncaleroAssigned ToRetail => aaroncalero
2024-03-20 11:43aaroncaleroStatusnew => scheduled
2024-03-20 16:44hgbotNote Added: 0162428
2024-03-20 17:31LcazauxNote Added: 0162432
2024-03-20 17:31LcazauxStatusscheduled => resolved
2024-03-20 17:31LcazauxStatusresolved => closed
2024-03-21 09:06hgbotResolutionopen => fixed
2024-03-21 09:06hgbotNote Added: 0162448
2024-03-21 09:06hgbotNote Added: 0162449

Notes
(0162428)
hgbot   
2024-03-20 16:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/58 [^]
(0162432)
Lcazaux   
2024-03-20 17:31   
Fixed with configuration:
1- Add "approval required = Yes" in Loyalty program window in the BO
2- Add User action "Synchronize New Loyalty Subscription" for all the needed roles
(0162448)
hgbot   
2024-03-21 09:06   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: a02652f29bffc50034d2c6377789d4c097d1298c
Author: Aaron Calero <aaron.calero@openbravo.com>
Date: 20-03-2024 12:21:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/a02652f29bffc50034d2c6377789d4c097d1298c [^]

Fixed ISSUE-54986: Disabled Update Category button if UserAction access is not granted

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.retail.loyalty.programs/src/components/UpdateCategoryPopup/UpdateCategoryPopup.jsx
---
(0162449)
hgbot   
2024-03-21 09:06   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/58 [^]