diff --git a/docsource/modules180-190.rst b/docsource/modules180-190.rst index 52f32df763f6..cf31e487bc2b 100644 --- a/docsource/modules180-190.rst +++ b/docsource/modules180-190.rst @@ -1186,7 +1186,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_links |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| website_livechat | | | +| website_livechat |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | website_mail |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_livechat/19.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/post-migration.py new file mode 100644 index 000000000000..5c27d4ddcf82 --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/post-migration.py @@ -0,0 +1,14 @@ +# 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.delete_records_safely_by_xml_id( + env, + [ + "website_livechat.im_livechat_channel_rule_public", + ], + ) diff --git a/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..7e1f36cbd436 --- /dev/null +++ b/openupgrade_scripts/scripts/website_livechat/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,20 @@ +---Models in module 'website_livechat'--- +---Fields in module 'website_livechat'--- +website_livechat / discuss.channel / is_pending_chat_request (boolean): NEW +# NOTHING TO DO + +website_livechat / im_livechat.channel / is_published (boolean) : DEL +website_livechat / im_livechat.channel / website_description (html) : DEL +# NOTHING TO DO + +---XML records in module 'website_livechat'--- +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_employee +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_portal +DEL ir.model.access: website_livechat.access_im_livechat_channel_public_public +DEL ir.ui.view: website_livechat.channel_list_page +DEL ir.ui.view: website_livechat.channel_page +DEL ir.ui.view: website_livechat.im_livechat_channel_form_view +# NOTHING TO DO + +DEL ir.rule: website_livechat.im_livechat_channel_rule_public (noupdate) +# DONE: post-migration: deleted noupdate rule