[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
This commit is contained in:
Gurpreet Singh
2024-02-20 14:57:25 +00:00
parent 52f36f5c14
commit c11efd4e4e
@@ -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"),