From f35c8d696bb2f839ac131cc8d87e3ae0472812eb Mon Sep 17 00:00:00 2001 From: Gurpreet Singh Date: Thu, 15 Feb 2024 11:56:41 +0530 Subject: [PATCH] [FIX] microsoft_calendar: fix redirection on Outlook sync pause button Steps to produce: - Configure Outlook Calendar and navigate to the calendar app. - Click on the Outlook sync button, redirecting to the general settings. Before this commit, the Outlook sync pause buttons directed users to the general settings. with this commit, it now redirects to the calendar settings. task-3731652 closes odoo/odoo#153581 Signed-off-by: Arnaud Joset (arj) --- .../views/microsoft_calendar/microsoft_calendar_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/microsoft_calendar/static/src/views/microsoft_calendar/microsoft_calendar_controller.js b/addons/microsoft_calendar/static/src/views/microsoft_calendar/microsoft_calendar_controller.js index 05034e0692b..bfdbfa3cab2 100644 --- a/addons/microsoft_calendar/static/src/views/microsoft_calendar/microsoft_calendar_controller.js +++ b/addons/microsoft_calendar/static/src/views/microsoft_calendar/microsoft_calendar_controller.js @@ -67,7 +67,7 @@ patch(AttendeeCalendarController.prototype, { onMicrosoftSyncUnpause() { if (this.isSystemUser) { - this.env.services.action.doAction("base_setup.action_general_configuration"); + this.env.services.action.doAction("calendar.calendar_settings_action"); } else { this.dialog.add(AlertDialog, { title: _t("Configuration"),