コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1552 ビュー

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.

アバター
破棄
最善の回答

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.

関連投稿 返信 ビュー 活動
2
6月 24
1658
1
12月 23
1387
1
3月 23
2379
0
12月 22
1967
1
10月 21
3907