diff --git a/docsource/modules150-160.rst b/docsource/modules150-160.rst index fd5b35e0b25d..acf7de2fbe3e 100644 --- a/docsource/modules150-160.rst +++ b/docsource/modules150-160.rst @@ -876,7 +876,7 @@ Module coverage 15.0 -> 16.0 +-------------------------------------------------+----------------------+-------------------------------------------------+ | website_partner | Nothing to do |No DB layout changes. | +-------------------------------------------------+----------------------+-------------------------------------------------+ -| website_payment | | | +| website_payment | Done | | +-------------------------------------------------+----------------------+-------------------------------------------------+ | |new| website_payment_authorize | | | +-------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/website_payment/16.0.1.0/post-migration.py b/openupgrade_scripts/scripts/website_payment/16.0.1.0/post-migration.py new file mode 100644 index 000000000000..85120eaca318 --- /dev/null +++ b/openupgrade_scripts/scripts/website_payment/16.0.1.0/post-migration.py @@ -0,0 +1,18 @@ +# Copyright 2023-2024 Tecnativa - Víctor Martínez +# 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, "website_payment", "16.0.1.0/noupdate_changes.xml") + openupgrade.delete_record_translations( + env.cr, + "website_payment", + [ + "mail_template_donation", + ], + [ + "name", + ], + ) diff --git a/openupgrade_scripts/scripts/website_payment/16.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/website_payment/16.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d6382e9260ef --- /dev/null +++ b/openupgrade_scripts/scripts/website_payment/16.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'website_payment'--- +---Fields in module 'website_payment'--- +---XML records in module 'website_payment'--- +NEW ir.actions.server: website_payment.action_stripe_connect_account +ir.ui.view: website_payment.donation_mail_body (noupdate) (noupdate switched) +NEW ir.ui.view: website_payment.payment_provider_form +NEW ir.ui.view: website_payment.res_config_settings_view_form +DEL ir.ui.view: website_payment.acquirer_form_website +# NOTHING TO DO