From 8cd9db092335cfcbfe81a9b49d2d4aee640dbafd Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Sat, 24 Jun 2023 09:04:41 +0000 Subject: [PATCH] [IMP] calendar, repair: move action from root menu to new menu before this commit, the repair orders is directly linked with the root menu of repair application and if you user opens the repair app, repair orders action is shown as it is linked with the main menu. similarly in the calendar app, the calendar is linked with the root menu calendar. but now if user move to reporting or configuration menu of repair app, there is no menu to access the repair orders. with the new milk redesign on clicking the root menu user will be taken to home screen, where us there is hamburger menu in previous design to navigate to home screen. so only way for user to access the repair order menu is to go back to home screen and come back. similarly in the calendar app, if user takes the configuration menu, in order to access the calendar, user has to go to home screen and come back. after this commit, a new sub menu is introduced in both app and moved the action linked with root menu to the newly added sub menu. closes odoo/odoo#126329 Signed-off-by: William Henrotin (whe) --- addons/calendar/views/calendar_views.xml | 9 ++++++++- addons/repair/views/repair_views.xml | 7 +++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/addons/calendar/views/calendar_views.xml b/addons/calendar/views/calendar_views.xml index 6ba80d2f65e..18dc1756eb3 100644 --- a/addons/calendar/views/calendar_views.xml +++ b/addons/calendar/views/calendar_views.xml @@ -471,10 +471,17 @@ id="mail_menu_calendar" name="Calendar" sequence="10" - action="action_calendar_event" web_icon="calendar,static/description/icon.png" groups="base.group_user"/> + + - + + +