跳至內容
選單
此問題已被標幟
2 回覆
2922 瀏覽次數

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
2月 21
2291
0
12月 24
1037
4
10月 19
33607
1
4月 17
3796
2
3月 15
7186