Skip to Content
मेन्यू
This question has been flagged
1 Reply
1633 Views

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.

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

Okay. Thank very much for your answer. I appreciated it.

Author

It does not work.

Related Posts Replies Views Activity
2
जून 24
1775
1
दिस॰ 23
1503
1
मार्च 23
2485
0
दिस॰ 22
2060
1
अक्तू॰ 21
4023