تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3057 أدوات العرض

MENU ITEM NOT SHOW IN odoo 14 back'end mode

الصورة الرمزية
إهمال
الكاتب

<menuitem
id="menu_element_variable"
action="action_element_variable"
parent="hr_work_entry_contract.menu_hr_payroll_configuration"
sequence="10"/>

أفضل إجابة

Hi , 

You need to give access rights to the menu and model

Eg:

<menuitem id="menu_element_variable" action="action_element_variable" parent="hr_work_entry_contract.menu_hr_payroll_configuration" groups="base.group_user" sequence="10"/>




and add the security in the ir.model.access.csv file as follows

access_name,security_name,model_name,base.group_user,1,1,1,1 

Regards

الصورة الرمزية
إهمال
الكاتب

thanks good that work, juste I add acces group

أفضل إجابة

Make sure you are creating Access right for model which is called by your action.

الصورة الرمزية
إهمال
الكاتب

THANKS i am create acces and that work

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 21
2390
0
ديسمبر 24
1191
4
أكتوبر 19
34029
1
أبريل 17
3997
2
مارس 15
7422