From ad73c70310d8dd16b2bbb9ecda59c3c0b63ac3ce Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Thu, 28 May 2026 17:40:52 -0400 Subject: [PATCH] [MIG] marketing_card: reload noupdate security groups --- docsource/modules180-190.rst | 2 +- .../scripts/marketing_card/19.0.1.1/post-migration.py | 6 ++++++ .../marketing_card/19.0.1.1/upgrade_analysis_work.txt | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/marketing_card/19.0.1.1/post-migration.py create mode 100644 openupgrade_scripts/scripts/marketing_card/19.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules180-190.rst b/docsource/modules180-190.rst index fd4b86e2175e..6c8300582d5d 100644 --- a/docsource/modules180-190.rst +++ b/docsource/modules180-190.rst @@ -714,7 +714,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | maintenance | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| marketing_card | | | +| marketing_card |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | mass_mailing |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/marketing_card/19.0.1.1/post-migration.py b/openupgrade_scripts/scripts/marketing_card/19.0.1.1/post-migration.py new file mode 100644 index 000000000000..0c9ff885f845 --- /dev/null +++ b/openupgrade_scripts/scripts/marketing_card/19.0.1.1/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env, "marketing_card", "19.0.1.1/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/marketing_card/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/marketing_card/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2bf7cca8aa98 --- /dev/null +++ b/openupgrade_scripts/scripts/marketing_card/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'marketing_card'--- +---Fields in module 'marketing_card'--- +marketing_card / card.template / name (char) : now translatable + +# NOTHING TO DO + +---XML records in module 'marketing_card'--- +DEL ir.module.category: marketing_card.module_category_marketing_card (noupdate) +NEW res.groups.privilege: marketing_card.res_groups_privilege_marketing_card (noupdate) + +# DONE: res.groups rewired to the new privilege via noupdate_changes.xml; obsolete category left for database_cleanup