Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1875 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 24
1781
2
helmik. 24
4449
2
kesäk. 25
2229
4
toukok. 25
2660
2
toukok. 25
6064