From bac33a341f7fdc9931b2e8faacca7bdff146ec06 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 12 Jul 2021 11:21:56 +0200 Subject: [PATCH] [MIG] iap --- docsource/modules130-140.rst | 2 +- .../scripts/iap/14.0.1.1/pre-migration.py | 15 +++++++++++++++ .../iap/14.0.1.1/upgrade_analysis_work.txt | 8 ++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/iap/14.0.1.1/pre-migration.py create mode 100644 openupgrade_scripts/scripts/iap/14.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 0ee1ee532ff6..7c0f6cd15f1a 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -202,7 +202,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |del| hw_proxy | Merged into hw_drivers | +--------------------------------------------+-------------------------------------------------+ -|iap | | +|iap | Done | +--------------------------------------------+-------------------------------------------------+ | |new| iap_crm | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/iap/14.0.1.1/pre-migration.py b/openupgrade_scripts/scripts/iap/14.0.1.1/pre-migration.py new file mode 100644 index 000000000000..0d44b9565fc9 --- /dev/null +++ b/openupgrade_scripts/scripts/iap/14.0.1.1/pre-migration.py @@ -0,0 +1,15 @@ +# Copyright 2021 ForgeFlow S.L. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.set_xml_ids_noupdate_value( + env, + "iap", + [ + "user_iap_account", + ], + True, + ) diff --git a/openupgrade_scripts/scripts/iap/14.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/iap/14.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..00d12abe7ab1 --- /dev/null +++ b/openupgrade_scripts/scripts/iap/14.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'iap'--- +---Fields in module 'iap'--- +---XML records in module 'iap'--- +ir.rule: iap.user_iap_account (noupdate) (noupdate switched) +# DONE: pre-migration: switched noupdate + +NEW ir.ui.view: iap.tests_assets +# NOTHING TO DO