Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1721 Zobrazení

In the form view for the user on the "access_rights" page, I want to hide all groups except “Other” – the group in which all rights of the file "security.xml" are displayed  .

However, this group does not have a name or id. How could this be done?


Thank's Fazle Rabbi Ferdaus! Can you explain in detail?

Avatar
Zrušit
Nejlepší odpověď

Hi Виталий Игнатов, 

Look into "GroupsView" class in the "odoo/odoo/addons/base/models/res_users" file under the. Specially the, "_update_user_groups_view" function this will give you a clear idea how odoo replaces the res_users view's "Access rights" section.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 24
1667
2
úno 24
4276
2
čvn 25
2130
4
kvě 25
2445
2
kvě 25
5777