[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) <arj@odoo.com>
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user