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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2407
Views
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
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 | |
---|---|---|---|---|
|
0
Sep 23
|
1369 | ||
|
1
Oct 22
|
1013 | ||
Get menuitem list
Solved
|
|
3
Dec 21
|
5384 | |
|
0
Dec 18
|
1577 | ||
How to delete menuitem?
Solved
|
|
7
Oct 18
|
20242 |