This is my code:
<record id="module_category_vender_user" model="ir.module.category">
<field name="name">Vender</field>
</record>
<record id="group_vender" model="res.groups">
<field name="name">Vender</field>
<field name="category_id" ref="website_groceries_extended.module_category_vender_user"/>
</record>
When we apply this group to internal user then we want only order menu in purchase and all other's are hide.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
2865
화면
Hello Dharmesh,
You need to add your custom group in the menu which you want to display and for you need to override the odoo menu item for that please follow the below code:
<record model="ir.ui.menu" id="module_id.menu_id">
<field name="groups_id" eval="[(6,0,[ref('group_vender')])]"/>
</record>
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
0
9월 23
|
2662 | ||
|
1
10월 22
|
2360 | ||
Get menuitem list
해결 완료
|
|
3
12월 21
|
7259 | |
|
0
12월 18
|
2590 | ||
How to delete menuitem?
해결 완료
|
|
7
10월 18
|
22397 |