Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5588 Lượt xem

Hi,

I using Odoo13.


I make groups of access rights to users with user privileges to a manufacturing module, but then the other module still appears to the users on the main dashboard like Contact module, Discuss, Callender module and others.


I want to hide these modules from the groups of users on the main dashboard.


So, how to do that?, to hide the don't necessary module from groups on Odoo internal users?


Please, I would be very thank you for the help, any sources or tutorials how to do that.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

just inherit main menu of targeted module and add wanted groups which you want them  to see the module . example:

<menuitem name="menuName" id="module_id.menu_idgroups="group_id1,group_id2" />

and do not forget to add the  supper module to the manifest file (in dependences)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Ex: Hide contact
Setting -> Menu Items: search contact then change group view


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 23
8137
2
thg 1 23
1667
1
thg 11 24
7374
1
thg 3 25
1314
0
thg 8 25
1323