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
14 changes: 7 additions & 7 deletions docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| base_install_request | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| base_setup | | |
| base_setup |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| base_sparse_field | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| base_vat | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| board | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| bus | | |
| bus |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| calendar | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -228,7 +228,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| |new| html_builder | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| html_editor | | |
| html_editor |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| http_routing | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -700,7 +700,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| lunch | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mail | | |
| mail |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| mail_bot | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -1114,13 +1114,13 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| utm | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| web | | |
| web |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| |del| web_editor | | |
| |del| web_editor | |Merged into html_editor |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| web_hierarchy | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| web_tour | | |
| web_tour |Nothing to do | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| web_unsplash | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion openupgrade_scripts/apriori.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"l10n_in_edi_ewaybill": "l10n_in_ewaybill",
"membership": "partnership",
"pos_viva_wallet": "pos_viva_com",
"web_editor": "html_builder",
# odoo/enterprise
# OCA/...
}
Expand Down Expand Up @@ -43,6 +42,7 @@
"pos_self_order_epson_printer": "pos_self_order",
"sale_async_emails": "sale",
"website_membership": "website_crm_partner_assign",
"web_editor": "html_editor",
# odoo/enterprise
# OCA/...
}
Expand Down
14 changes: 14 additions & 0 deletions openupgrade_scripts/scripts/base_setup/19.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2026 Hunki Enterprises BV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(
env,
[
"base_setup.setup_default_user_rights",
],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---Models in module 'base_setup'---
---Fields in module 'base_setup'---
---XML records in module 'base_setup'---
DEL ir.config_parameter: base_setup.setup_default_user_rights (noupdate)

# DONE: deleted in post-migration
20 changes: 20 additions & 0 deletions openupgrade_scripts/scripts/bus/19.0.1.0/upgrade_analysis_work.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---Models in module 'bus'---
obsolete model bus.presence
---Fields in module 'bus'---
bus / bus.presence / last_poll (datetime) : DEL
bus / bus.presence / last_presence (datetime) : DEL
bus / bus.presence / status (selection) : DEL selection_keys: ['away', 'offline', 'online']
bus / bus.presence / user_id (many2one) : DEL relation: res.users

# NOTHING TO DO: obsolete model

bus / res.partner / im_status (char) : module is now 'mail' ('bus')
bus / res.users / im_status (char) : module is now 'mail' ('bus')

# NOTHING TO DO: transient fields

---XML records in module 'bus'---
DEL ir.model.access: bus.access_bus_presence
DEL ir.model.access: bus.access_bus_presence_portal

# NOTHING TO DO
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---Models in module 'html_editor'---
new model html_editor.converter.test (renamed from web_editor.converter.test in module web_editor)
new model html_editor.converter.test.sub (renamed from web_editor.converter.test.sub in module web_editor)

# NOTHING TO DO: test model

model html.field.history.mixin (moved from web_editor) [abstract]

# NOTHING TO DO: model entries will be taken care of by module merge

---Fields in module 'html_editor'---
html_editor / web_editor.converter.test / _order : previously in module web_editor
html_editor / web_editor.converter.test / binary (binary) : previously in module web_editor
html_editor / web_editor.converter.test / char (char) : previously in module web_editor
html_editor / web_editor.converter.test / date (date) : previously in module web_editor
html_editor / web_editor.converter.test / datetime (datetime) : previously in module web_editor
html_editor / web_editor.converter.test / display_name (char) : previously in module web_editor
html_editor / web_editor.converter.test / float (float) : previously in module web_editor
html_editor / web_editor.converter.test / html (html) : previously in module web_editor
html_editor / web_editor.converter.test / integer (integer) : previously in module web_editor
html_editor / web_editor.converter.test / many2one (many2one) : previously in module web_editor
html_editor / web_editor.converter.test / numeric (float) : previously in module web_editor
html_editor / web_editor.converter.test / selection_str (selection) : previously in module web_editor
html_editor / web_editor.converter.test / text (text) : previously in module web_editor
html_editor / web_editor.converter.test.sub / _order : previously in module web_editor
html_editor / web_editor.converter.test.sub / display_name (char) : previously in module web_editor
html_editor / web_editor.converter.test.sub / name (char) : previously in module web_editor
web_editor / web_editor.converter.test / many2one (many2one) : relation is now 'html_editor.converter.test.sub' ('web_editor.converter.test.sub') [nothing to do]

# NOTHING TO DO: test model

---XML records in module 'html_editor'---
NEW ir.model.access: html_editor.access_html_editor_converter_test
NEW ir.model.access: html_editor.access_html_editor_converter_test_sub

# NOTHING TO DO
32 changes: 32 additions & 0 deletions openupgrade_scripts/scripts/mail/19.0.1.19/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2025 Hunki Enterprises BV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from openupgradelib import openupgrade


def _mail_message_link_preview(env):
"""
in v18, mail.link.preview linked directly to mail.message
in v19, it's mail.link.preview <- mail.message.link.preview -> mail.message
"""
env.cr.execute(
"""
INSERT INTO
mail_message_link_preview
(link_preview_id, message_id, is_hidden)
SELECT id, message_id, is_hidden FROM mail_link_preview
"""
)


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "mail", "19.0.1.19/noupdate_changes.xml")
_mail_message_link_preview(env)
openupgrade.delete_records_safely_by_xml_id(
env,
[
"mail.ir_cron_discuss_users_settings_unmute",
"mail.module_category_canned_response",
],
)
Loading