From c11efd4e4e78ac1e95d8d47253638ede979fbc44 Mon Sep 17 00:00:00 2001 From: Gurpreet Singh Date: Fri, 9 Feb 2024 15:04:20 +0530 Subject: [PATCH] [FIX] google_calendar: fix redirection on google sync pause button Steps to produce: - Configure Google Calendar and navigate to the calendar app. - Click on the Google sync button, redirecting to the general settings. Before this commit, the Google sync pause buttons directed users to the general settings. with this commit, it now redirects to the calendar settings. task-3731652 Part-of: odoo/odoo#153581 --- .../src/views/google_calendar/google_calendar_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/google_calendar/static/src/views/google_calendar/google_calendar_controller.js b/addons/google_calendar/static/src/views/google_calendar/google_calendar_controller.js index df0f4303a86..a5dbc503aa1 100644 --- a/addons/google_calendar/static/src/views/google_calendar/google_calendar_controller.js +++ b/addons/google_calendar/static/src/views/google_calendar/google_calendar_controller.js @@ -68,7 +68,7 @@ patch(AttendeeCalendarController.prototype, { onGoogleSyncUnpause() { 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"),