تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2858 أدوات العرض
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.
الصورة الرمزية
إهمال
أفضل إجابة

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
سبتمبر 23
2662
1
أكتوبر 22
2360
Get menuitem list تم الحل
3
ديسمبر 21
7248
0
ديسمبر 18
2586
7
أكتوبر 18
22392