diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 1b7584d1f0a..cefe254d958 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -740,7 +740,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ |website_livechat | Done | +--------------------------------------------+-------------------------------------------------+ -|website_mail | | +|website_mail | Done | +--------------------------------------------+-------------------------------------------------+ |website_mail_channel | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_mail/14.0.0.1/post-migration.py b/openupgrade_scripts/scripts/website_mail/14.0.0.1/post-migration.py new file mode 100644 index 00000000000..6fea626c362 --- /dev/null +++ b/openupgrade_scripts/scripts/website_mail/14.0.0.1/post-migration.py @@ -0,0 +1,9 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + ["website_mail.mail_message_rule_public"], + ) diff --git a/openupgrade_scripts/scripts/website_mail/14.0.0.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_mail/14.0.0.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..33870022dad --- /dev/null +++ b/openupgrade_scripts/scripts/website_mail/14.0.0.1/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'website_mail'--- +---Fields in module 'website_mail'--- +website_mail / mail.mail / description (char) : module is now 'mail' ('website_mail') +website_mail / mail.message / description (char) : module is now 'mail' ('website_mail') +website_mail / mail.message / website_published (boolean) : DEL +# NOTHING TO DO + +---XML records in module 'website_mail'--- +DEL ir.rule: website_mail.mail_message_rule_public (noupdate) +# DONE: post-migration: try to delete