diff --git a/docsource/modules170-180.rst b/docsource/modules170-180.rst index 2b899f408390..9d7c557c7a53 100644 --- a/docsource/modules170-180.rst +++ b/docsource/modules170-180.rst @@ -96,7 +96,7 @@ Module coverage 17.0 -> 18.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | bus |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| calendar | | | +| calendar |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | calendar_sms | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/calendar/18.0.1.1/post-migration.py b/openupgrade_scripts/scripts/calendar/18.0.1.1/post-migration.py new file mode 100644 index 000000000000..95d093b2bd2a --- /dev/null +++ b/openupgrade_scripts/scripts/calendar/18.0.1.1/post-migration.py @@ -0,0 +1,18 @@ +# Copyright 2025 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", "18.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", + ], + ) diff --git a/openupgrade_scripts/scripts/calendar/18.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/calendar/18.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..cefb24e572fa --- /dev/null +++ b/openupgrade_scripts/scripts/calendar/18.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'calendar'--- +---Fields in module 'calendar'--- +calendar / res.users.settings / calendar_default_privacy (selection): NEW required, selection_keys: ['confidential', 'private', 'public'], hasdefault: default +# NOTHING TO DO + +---XML records in module 'calendar'--- +DEL ir.actions.act_window: calendar.action_view_start_calendar_sync +NEW ir.ui.view: calendar.res_users_form_view +NEW ir.ui.view: calendar.res_users_form_view_calendar_default_privacy +# NOTHING TO DO + +DEL onboarding.onboarding: calendar.onboarding_onboarding_calendar (noupdate) +DEL onboarding.onboarding.step: calendar.onboarding_onboarding_step_setup_calendar_integration (noupdate) +# DONE: post-migration: safely delete