Openbravo Issue Tracking System - POS2
View Issue Details
0055479POS2POSpublic2024-05-14 14:452024-07-01 08:00
jfvaringot 
Rajesh_18 
immediatemajoralways
closedfixed 
5
 
 
No
0055479: POS2 - Issue on approvals - Cannot approve anymore
It is not possible anymore to enter an approval when required : the POS always rejects the approval, and dispays 'Authenticated user has no permission to approve this action', even if the user has all rights to use and approve.
Tested on livebuilds :
Back : https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/security/Login [^]
POS :
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^]

User : vallblanca
Role : VallBlancaUser
User Action Access : Apply Discretionary and Optional Discount
Approval : Approval Required

User : Openbravo
Role : The White Valley Group Admin
User Action Access : Apply Discretionary and Optional Discount
Approval : Can Use and Approve

Discount : disc_5_var_euro
Approval Required : checked

STEPS :
1. Connect with vallblanca
2. Add an item
3. Apply promotion disc_5_var_euro
4. Approbation is asked
5. Enters Openbravo credentials
-> FAILURE : 'Authenticated user has no permission to approve this action'
6. Discard promotion
7. DO NOT CLOSE TICKET, NEITHER DELETE ITEM

8. Change user -> connect with Openbravo
9. Apply promotion disc_5_var_euro
-> SUCCESS

THE TEST HAS BEEN DONE ON PROMOTIONS, BUT THE BEHAVIOR IS THE SAME FOR EVERY APPROVALS.
No tags attached.
Issue History
2024-05-14 14:45jfvaringotNew Issue
2024-05-14 14:45jfvaringotAssigned To => Retail
2024-05-14 14:45jfvaringotTriggers an Emergency Pack => No
2024-05-27 12:13victor_perezSeveritycritical => major
2024-05-28 09:31guillermogilStatusnew => acknowledged
2024-05-29 06:46Rajesh_18Assigned ToRetail => Rajesh_18
2024-05-29 06:46Rajesh_18Statusacknowledged => scheduled
2024-06-17 14:07hgbotNote Added: 0166021
2024-07-01 08:00hgbotNote Added: 0166487
2024-07-01 08:00hgbotResolutionopen => fixed
2024-07-01 08:00hgbotStatusscheduled => closed
2024-07-01 08:00hgbotFixed in Version => RR24Q4
2024-07-01 08:00hgbotNote Added: 0166488

Notes
(0166021)
hgbot   
2024-06-17 14:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/106 [^]
(0166487)
hgbot   
2024-07-01 08:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/106 [^]
(0166488)
hgbot   
2024-07-01 08:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 4e4bf865b295e5c8d615dc500e3d7b1d4e24e1e1
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 01-07-2024 05:59:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/4e4bf865b295e5c8d615dc500e3d7b1d4e24e1e1 [^]

Fixed ISSUE-55479: Added CMS, vallblanca and Posets Store in org access of The White Valley Group Admin Role to solve approval

---
M referencedata/sampledata/The_White_Valley_Group/AD_ROLE_ORGACCESS.xml
---