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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
1334
瀏覽次數
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
|
1397 | ||
|
1
12月 23
|
1172 | ||
|
1
3月 23
|
2159 | ||
|
0
12月 22
|
1778 | ||
|
1
10月 21
|
3698 |