Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsource/modules170-180.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Module coverage 17.0 -> 18.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| bus |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| calendar | | |
| calendar |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| calendar_sms | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
18 changes: 18 additions & 0 deletions openupgrade_scripts/scripts/calendar/18.0.1.1/post-migration.py
Original file line number Diff line number Diff line change
@@ -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",
],
)
Original file line number Diff line number Diff line change
@@ -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