[FIX] *_calendar: neuter Google & Microsoft Calendar

This addresses an issue with the current Google and Microsoft
Calendar synchronization feature in Odoo. It aims to prevent
inadvertent modifications on calendars in a duplicate database.

opw-3382489

closes odoo/odoo#132698

X-original-commit: 9c94804893cf41eb91aaa8750bf2d9a59f513158
Signed-off-by: Arnaud Joset (arj) <arj@odoo.com>
Signed-off-by: Pedram Bi Ria (pebr) <pebr@odoo.com>
This commit is contained in:
Pedram (PEBR)
2023-08-22 20:00:57 +02:00
parent 11b9767b3e
commit 13656c71c3
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,5 @@
-- neutralization of Google calendar
UPDATE google_calendar_credentials
SET calendar_rtoken = NULL,
calendar_token = NULL,
synchronization_stopped = True;
@@ -0,0 +1,5 @@
-- neutralization of Microsoft calendar
UPDATE res_users
SET microsoft_calendar_token = NULL,
microsoft_calendar_rtoken = NULL,
microsoft_synchronization_stopped = True;