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

Hello,

I am new to Odoo and currently working with version 17 CE. I need assistance with customizing the top-right icons in the navigation bar. Specifically, I want to hide the icons for 'Discuss' and 'Activities' for certain users.

Additionally, when clicking on the user profile icon, several options are displayed, including 'Documentation,' 'Shortcuts,' 'Support,' 'Preferences,' 'MyOdoo.com Account,' and 'Logout.' I would like to hide all these options except for 'Logout.'

I have not found a way to achieve this through the interface, and my attempts to implement it via code were unsuccessful as I am still a beginner in Odoo development.

If anyone could guide me on how to accomplish this, I would greatly appreciate it. Thank you!

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

Hi,

1- Take a look at how permissions and group users work. What you want to achive can be done like so, just create a group and revoke the permission to view those menus.

2- I don't think you can do that without code, and I think it would mean mixing the above method with custom code, tho I have never bothered editing such menus so I have no more insight on that.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
490
0
thg 7 24
31
1
thg 7 24
1104
1
thg 7 24
1533
0
thg 7 24
14