Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2224 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 24
2186
2
lut 24
5107
2
cze 25
2631
4
paź 25
2610
2
wrz 25
1716