Skip to content

Commit

Permalink
[OU-ADD] calendar: migrate to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
haumenphai authored and duong77476-viindoo committed Nov 4, 2024
1 parent 89a7514 commit af61782
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules160-170.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Module coverage 16.0 -> 17.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| bus | Nothing to do |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| calendar | | |
| calendar | Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| calendar_sms | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "calendar", "17.0.1.1/noupdate_changes.xml")
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---Models in module 'calendar'---
new model calendar.popover.delete.wizard [transient]
# NOTHING TO DO

---Fields in module 'calendar'---
calendar / calendar.event / message_main_attachment_id (many2one): DEL relation: ir.attachment
# NOTHING TO DO

calendar / calendar.event / rrule_type_ui (selection) : NEW selection_keys: ['custom', 'daily', 'monthly', 'weekly', 'yearly'], hasdefault: compute
# NOTHING TO DO: new field, compute non-store

calendar / calendar.event / videocall_channel_id (many2one): relation is now 'discuss.channel' ('mail.channel') [nothing to do]
calendar / calendar.recurrence / trigger_id (many2one) : NEW relation: ir.cron.trigger
# NOTHING TO DO

---XML records in module 'calendar'---
NEW ir.actions.act_window: calendar.action_view_start_calendar_sync
NEW ir.actions.act_window: calendar.calendar_settings_action
NEW ir.model.access: calendar.access_calendar_attendee_employee_delete_wizard
# NOTHING TO DO

NEW ir.ui.menu: calendar.calendar_event_menu
NEW ir.ui.menu: calendar.menu_calendar_settings
NEW ir.ui.view: calendar.calendar_popover_delete_view
NEW ir.ui.view: calendar.mail_activity_schedule_view_form
NEW ir.ui.view: calendar.res_config_settings_view_form
NEW ir.ui.view: calendar.view_calendar_event_form_quick_create
NEW onboarding.onboarding: calendar.onboarding_onboarding_calendar (noupdate)
NEW onboarding.onboarding.step: calendar.onboarding_onboarding_step_setup_calendar_integration (noupdate)
# NOTHING TO DO

0 comments on commit af61782

Please sign in to comment.