From e427bebe41f312b95a26ade462a1c002188ac2ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Wed, 6 May 2026 18:01:56 +0200 Subject: [PATCH] [MIG] calendar --- .../calendar/19.0.1.1/post-migration.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 openupgrade_scripts/scripts/calendar/19.0.1.1/post-migration.py diff --git a/openupgrade_scripts/scripts/calendar/19.0.1.1/post-migration.py b/openupgrade_scripts/scripts/calendar/19.0.1.1/post-migration.py new file mode 100644 index 000000000000..1c1f72eaac62 --- /dev/null +++ b/openupgrade_scripts/scripts/calendar/19.0.1.1/post-migration.py @@ -0,0 +1,19 @@ +# Copyright 2026 ForgeFlow S.L. (https://www.forgeflow.com) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env, "calendar", "19.0.1.1/noupdate_changes.xml") + openupgrade.delete_record_translations( + env.cr, + "calendar", + [ + "calendar_template_meeting_changedate", + "calendar_template_meeting_invitation", + "calendar_template_meeting_reminder", + "calendar_template_meeting_update", + ], + )