跳至內容
選單
此問題已被標幟
1 回覆
1790 瀏覽次數

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?

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 24
1717
2
2月 24
4330
2
6月 25
2166
4
5月 25
2519
2
5月 25
5881