Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2960 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
2308
0
ธ.ค. 24
1081
4
ต.ค. 19
33706
1
เม.ย. 17
3846
2
มี.ค. 15
7260