[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:
+1
-1
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user