From 382dce1a6729e85565cae6109b7e25c8f2f06c13 Mon Sep 17 00:00:00 2001 From: RaulOForgeFlow Date: Thu, 27 May 2021 09:49:02 +0200 Subject: [PATCH] [14.0][MIG] payment --- docsource/modules130-140.rst | 2 +- .../scripts/payment/14.0.1.0/post-migration.py | 8 ++++++++ .../payment/14.0.1.0/upgrade_analysis_work.txt | 14 ++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 openupgrade_scripts/scripts/payment/14.0.1.0/post-migration.py create mode 100644 openupgrade_scripts/scripts/payment/14.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules130-140.rst b/docsource/modules130-140.rst index 5a19769097a..ee713d1ca55 100644 --- a/docsource/modules130-140.rst +++ b/docsource/modules130-140.rst @@ -478,7 +478,7 @@ Module coverage 13.0 -> 14.0 +--------------------------------------------+-------------------------------------------------+ | |del| partner_autocomplete_address_extended| Merged into base_address_extended | +--------------------------------------------+-------------------------------------------------+ -|payment | | +|payment | Done | +--------------------------------------------+-------------------------------------------------+ |payment_adyen | | +--------------------------------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/payment/14.0.1.0/post-migration.py b/openupgrade_scripts/scripts/payment/14.0.1.0/post-migration.py new file mode 100644 index 00000000000..8fa5cd5b417 --- /dev/null +++ b/openupgrade_scripts/scripts/payment/14.0.1.0/post-migration.py @@ -0,0 +1,8 @@ +# 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.load_data(env.cr, "payment", "14.0.1.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/payment/14.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/payment/14.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..f530a477dfd --- /dev/null +++ b/openupgrade_scripts/scripts/payment/14.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'payment'--- +---Fields in module 'payment'--- +---XML records in module 'payment'--- +NEW ir.model.access: payment.access_payment_acquirer_onboarding_wizard +NEW ir.model.access: payment.access_payment_link_wizard +# NOTHING TO DO: noupdate = "0" records + +NEW ir.rule: payment.payment_token_salesman_rule (noupdate) +NEW ir.rule: payment.payment_transaction_billing_rule (noupdate) +NEW payment.acquirer: payment.payment_acquirer_odoo_by_adyen (noupdate) +# NOTHING TO DO + +DEL ir.ui.view: payment.account_invoice_payment_acquirer_onboarding +# NOTHING TO DO: noupdate = "0" record