Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2926 Lượt xem

MENU ITEM NOT SHOW IN odoo 14 back'end mode

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks good that work, juste I add acces group

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

THANKS i am create acces and that work

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
2292
0
thg 12 24
1038
4
thg 10 19
33609
1
thg 4 17
3798
2
thg 3 15
7190