I want to hide the existing Contacts and Discuss menu for all the users and show it to few user alone.How to do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
2
Trả lời
2697
Lượt xem
You can use it by overwriting the menu group as below.First create a new group as menu_invisible(you can give any group name) and use it in as below.
<record model="ir.ui.menu" id="contacts.menu_contacts">
<field name="groups_id" eval="[(6,0,[ref('menu_invisible')])]"/>
record>
Like this do the same thing for Discuss menu as well.
We can add active False to the contact menu.menuitem id="module.menu_id" active="False"
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký