Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2244 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 24
2207
2
Feb 24
5130
2
Jun 25
2646
4
Okt 25
2713
2
Sep 25
1735