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
19 changes: 19 additions & 0 deletions openupgrade_scripts/scripts/calendar/19.0.1.1/pre-migration.py
Original file line number Diff line number Diff line change
@@ -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.rename_fields(
env,
[
(
"calendar.alarm",
"calendar_alarm",
"sms_notify_responsible",
"notify_responsible",
)
],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---Models in module 'calendar'---
---Fields in module 'calendar'---
calendar / calendar.alarm / notify_responsible (boolean) : NEW hasdefault: default
# DONE: pre-migration: renamed from sms_notify_responsible (from calendar_sms)

calendar / calendar.event / notes (html) : NEW
# NOTHING TO DO: new feature

calendar / calendar.event / unavailable_partner_ids (many2many): previously in module hr_calendar
# NOTHING TO DO: nothing changed in the field

calendar / discuss.channel / calendar_event_ids (one2many) : NEW relation: calendar.event
# NOTHING TO DO: one2many

---XML records in module 'calendar'---
NEW ir.actions.act_window: calendar.action_event_delete_wizard
NEW ir.config_parameter: calendar.default_privacy (noupdate)
NEW ir.ui.view: calendar.view_event_delete_wizard_form
DEL ir.ui.view: calendar.res_partner_kanban_view
NEW mail.template: calendar.calendar_template_delete_event (noupdate)
# NOTHING TO DO
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---Fields in module 'calendar_sms'---
calendar_sms / calendar.alarm / sms_notify_responsible (boolean): DEL

# NOTHING TO DO
# NOTHING TO DO: renamed to notify_responsible in calendar module

---XML records in module 'calendar_sms'---

Expand Down
Loading