[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:
Gurpreet Singh
2024-02-20 14:57:25 +00:00
parent c11efd4e4e
commit f35c8d696b
@@ -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"),