Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054924Retail ModulesWeb POSpublic2024-03-12 18:032024-03-25 17:57
Lcazaux 
jarmendariz 
highmajoralways
closedfixed 
5
 
 
No
0054924: Application Mode not inherited in Roles Window
If I attribute to a Role B a "Role Inheritance" of a Role A that is a template, and if this template has an "Application Mode" configured, it will not be copied/inherited in my Role B.

This is a problem as it is now mandatory to have a value to log in the POS

See video https://drive.google.com/file/d/1a2GXwGeyFdE9Lkv45xHHXLligHS8jTjb/view?usp=drive_link [^]
Backoffice
Roles
create a dummy A who is a template
Add a value in subtab application mode
create a dummy B
add a the dummy A in the subtab "role inheritance"
refresh
nothing is copied in subtab application mode for this dummy B
Must be copied when linked via role inheritance
No tags attached.
related to feature request 0054590 closed meriem_azaf POS2 Add "Application Mode" support 
Issue History
2024-03-12 18:03LcazauxNew Issue
2024-03-12 18:03LcazauxAssigned To => Retail
2024-03-12 18:03LcazauxTriggers an Emergency Pack => No
2024-03-12 18:05LcazauxDescription Updatedbug_revision_view_page.php?rev_id=27675#r27675
2024-03-13 11:24jarmendarizRelationship addedrelated to 0054590
2024-03-13 11:27hgbotNote Added: 0162067
2024-03-13 12:56jorgewederagoAssigned ToRetail => jarmendariz
2024-03-18 13:46AugustoMauchStatusnew => scheduled
2024-03-25 17:57hgbotResolutionopen => fixed
2024-03-25 17:57hgbotStatusscheduled => closed
2024-03-25 17:57hgbotNote Added: 0162605
2024-03-25 17:57hgbotFixed in Version => 24Q2
2024-03-25 17:57hgbotNote Added: 0162606

Notes
(0162067)
hgbot   
2024-03-13 11:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1414 [^]
(0162605)
hgbot   
2024-03-25 17:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1414 [^]
(0162606)
hgbot   
2024-03-25 17:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 7bcaa7a0e19b7610aa5ee32852c7cccdf9fea3c6
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 25-03-2024 16:56:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7bcaa7a0e19b7610aa5ee32852c7cccdf9fea3c6 [^]

Fixed ISSUE-54924: Adding Application Mode Role access to Role Inheritance

---
A src/org/openbravo/core2/role/inheritance/ApplicationModeRoleInjector.java
M build/classes/org/openbravo/core2/modulescript/UpdateApplicationModeOnRole.class
M build/classes/org/openbravo/core2/modulescript/UpdateApplicationModeOnRoleData.class
M src-db/database/model/tables/OBC2_APPMODE_ROLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-util/modulescript/src/org/openbravo/core2/modulescript/UpdateApplicationModeOnRole.java
M src-util/modulescript/src/org/openbravo/core2/modulescript/UpdateApplicationModeOnRole_Data.xsql
---