From 82e64f6c0b8f15bee7402e8862d4af0eca575c58 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 27 Jan 2020 14:15:24 +0100 Subject: [PATCH] [MIG] payment_stripe --- .../migrations/13.0.1.0/noupdate_changes.xml | 10 +++++----- .../migrations/13.0.1.0/openupgrade_analysis_work.txt | 10 ++++++++++ .../migrations/13.0.1.0/post-migration.py | 9 +++++++++ odoo/openupgrade/doc/source/modules120-130.rst | 2 +- 4 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 addons/payment_stripe/migrations/13.0.1.0/openupgrade_analysis_work.txt create mode 100644 addons/payment_stripe/migrations/13.0.1.0/post-migration.py diff --git a/addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml b/addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml index b685f0f0ceab..47b6257fa520 100644 --- a/addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml +++ b/addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml @@ -1,11 +1,11 @@ - - - - - + + + + + diff --git a/addons/payment_stripe/migrations/13.0.1.0/openupgrade_analysis_work.txt b/addons/payment_stripe/migrations/13.0.1.0/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..76a7e3e24c1e --- /dev/null +++ b/addons/payment_stripe/migrations/13.0.1.0/openupgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'payment_stripe'--- +---Fields in module 'payment_stripe'--- +payment_stripe / payment.acquirer / provider (False) : selection_keys is now '['adyen', 'alipay', 'authorize', 'buckaroo', 'manual', 'ogone', 'paypal', 'payulatam', 'payumoney', 'sips', 'stripe']' ('['adyen', 'authorize', 'buckaroo', 'manual', 'ogone', 'paypal', 'payumoney', 'sips', 'stripe']') +---XML records in module 'payment_stripe'--- +NEW ir.ui.view: payment_stripe.assets_frontend +DEL ir.ui.view: payment_stripe_sca.assets_frontend +DEL ir.ui.view: payment_stripe_sca.payment_tokens_list +DEL ir.ui.view: payment_stripe_sca.stripe_form +DEL ir.ui.view: payment_stripe_sca.stripe_s2s_form +# NOTHING TO DO diff --git a/addons/payment_stripe/migrations/13.0.1.0/post-migration.py b/addons/payment_stripe/migrations/13.0.1.0/post-migration.py new file mode 100644 index 000000000000..90fadd0d03dd --- /dev/null +++ b/addons/payment_stripe/migrations/13.0.1.0/post-migration.py @@ -0,0 +1,9 @@ +# Copyright 2020 ForgeFlow +# 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_stripe", "migrations/13.0.1.0/noupdate_changes.xml") diff --git a/odoo/openupgrade/doc/source/modules120-130.rst b/odoo/openupgrade/doc/source/modules120-130.rst index da5f8ee20728..c7f98263b025 100644 --- a/odoo/openupgrade/doc/source/modules120-130.rst +++ b/odoo/openupgrade/doc/source/modules120-130.rst @@ -481,7 +481,7 @@ missing in the new release are marked with |del|. +----------------------------------------------+-------------------------------------------------+ |payment_sips | | +----------------------------------------------+-------------------------------------------------+ -|payment_stripe | | +|payment_stripe | Done | +----------------------------------------------+-------------------------------------------------+ | |del| payment_stripe_sca | | +----------------------------------------------+-------------------------------------------------+