跳至内容
菜单
此问题已终结
2 回复
3978 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
1月 25
6665
1
4月 24
2643
1
12月 23
4802
0
11月 22
3796
0
10月 22
2146