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

Hello,

I want to create a new menu that has a users and groups submenu without other settings menus, how  can I  do this 

Thank you in advance

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can define the new menu and its sub menu's and link the existing action of the groups and users menu to your new sub menus.

Suppose if action of users menu is with external id "base.action_res_users", when you define new sub menu set this external id as your action.

For more: yhttps://www.youtube.com/watch?v=Pbt7nHvCwHU&list=PLqRRLx0cl0hoZM788LH5M8q7KhiXPyuVU&index=7

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can use the example code below for the situation.

<menuitem id="new_menu_id" name="New Menu Name"  parent="parent_menuitem_id"/>


<menuitem action="base.action_res_users" id="menu_users" parent="new_menu_id" sequence="0"/>


<menuitem action="base.action_res_groups" id="menu_groups" parent="new_menu_id" sequence="1"/>


Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 1 25
6721
computed fields Đã xử lý
1
thg 4 24
2692
1
thg 12 23
4862
0
thg 11 22
3855
0
thg 10 22
2178