Menu items are stored in the ir.ui.menu model and can be browsed via the Settings | Technical | User Interface | Menu Items menu.
The todo_app addon created a top-level menu to open the To-Do Tasks. Now we want to modify it to a second-level menu and have other menu options alongside it.
To do this, we will modify the existing To-Do Task menu option, to remove the corresponding action and make it a parent menu item. Edit the views/todo_menu.xml to add:
<!-- Menu items --> <!-- Overwrite the top menu item to remove Action --> <menuitem id="todo_app.menu_todo_task" name="To-Do" action="" />
We used the more convenient <menuitem> shortcut element, instead of a <record model="ir.ui.menu"> element, which provides an abbreviated way ...