Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1833 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
avr. 24
1749
2
févr. 24
4383
2
juin 25
2193
4
mai 25
2573
2
mai 25
5954