Hello, good day everyone, I have a question on how to hide a menu item on specific department users in odoo 10. Thank you very much in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
1528
Views
Hi,
Create a user group only applicable only for that department user and give group attribute to that particular menu
<record id="access_main_hr_menu" model="res.groups">
<field name="name">Hr Main Menu</field>
</record>
<record model="ir.ui.menu" id="hr.menu_hr_root">
<field name="groups_id" eval="[(6,0,[ref('access_main_hr_menu')])]"/>
</record>
Regards
Okay. Thank very much for your answer. I appreciated it.
It does not work.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Jun 24
|
1644 | ||
|
1
Dec 23
|
1355 | ||
|
1
Mar 23
|
2366 | ||
|
0
Dec 22
|
1946 | ||
INSTALLING ODOO 10C ERROR
Solved
|
|
1
Oct 21
|
3897 |