Menu items are stored in the
ir.ui.menu model, and can be searched for in the Settings menu by navigating to Technical | User Interface | Menu Items. If we search for Messaging, we will see that it has Organizer as one of its submenus. With the help of the developer tools we can find the XML ID for that menu item: it is
We will replace the existing To-do Task menu item with a submenu that can be found by navigating to Messaging | Organizer. In the
todo_view.xml, after the window actions, add this code:
<menuitem id="menu_todo_task_main" name="To-Do" parent="mail.mail_my_stuff" /> <menuitem id="todo_app.menu_todo_task" name="To-Do Tasks" parent="menu_todo_task_main" sequence="10" action="todo_app.action_todo_task" ...