From 802ece8e5a9a8e3e787e69c3437e59e7089ab9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Taymans?= Date: Thu, 15 Feb 2024 16:14:44 +0100 Subject: [PATCH] [OU-ADD] l10n_be_invoice_bba: migration scripts --- .../migrations/13.0.1.2/openupgrade_analysis_work.txt | 11 +++++++++++ .../migrations/13.0.1.2/post-migration.py | 9 +++++++++ odoo/openupgrade/doc/source/modules120-130.rst | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 addons/l10n_be_invoice_bba/migrations/13.0.1.2/openupgrade_analysis_work.txt create mode 100644 addons/l10n_be_invoice_bba/migrations/13.0.1.2/post-migration.py diff --git a/addons/l10n_be_invoice_bba/migrations/13.0.1.2/openupgrade_analysis_work.txt b/addons/l10n_be_invoice_bba/migrations/13.0.1.2/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..3c1a5b2f2d84 --- /dev/null +++ b/addons/l10n_be_invoice_bba/migrations/13.0.1.2/openupgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'l10n_be_invoice_bba'--- +---Fields in module 'l10n_be_invoice_bba'--- +l10n_be_invoice_bba / account.journal / invoice_reference_model (False): NEW selection_keys: ['be', 'ch', 'euro', 'fi', 'fi_rf', 'no', 'odoo'], mode: modify +# NOTHING TO DO: selection 'be' is added to the existing field on account.journal + +l10n_be_invoice_bba / res.company / l10n_be_structured_comm (selection): DEL selection_keys: ['date', 'partner_ref', 'random'] +# NOTHING TO DO: replaced by the standard OGM-VCS + +---XML records in module 'l10n_be_invoice_bba'--- +DEL ir.ui.view: l10n_be_invoice_bba.res_config_settings_view_form +# NOTHING TO DO: replaced by the standard OGM-VCS diff --git a/addons/l10n_be_invoice_bba/migrations/13.0.1.2/post-migration.py b/addons/l10n_be_invoice_bba/migrations/13.0.1.2/post-migration.py new file mode 100644 index 000000000000..3e9b2d131788 --- /dev/null +++ b/addons/l10n_be_invoice_bba/migrations/13.0.1.2/post-migration.py @@ -0,0 +1,9 @@ +# Copyright 2023 Coop IT Easy (https://coopiteasy.be) +# 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, "hr_holidays", "migrations/13.0.1.2/noupdate_changes.xml") diff --git a/odoo/openupgrade/doc/source/modules120-130.rst b/odoo/openupgrade/doc/source/modules120-130.rst index 6269cd9ced50..37958b3f1ed0 100644 --- a/odoo/openupgrade/doc/source/modules120-130.rst +++ b/odoo/openupgrade/doc/source/modules120-130.rst @@ -249,7 +249,7 @@ missing in the new release are marked with |del|. +----------------------------------------------+-------------------------------------------------+ | |del| l10n_be_hr_payroll_fleet | | +----------------------------------------------+-------------------------------------------------+ -|l10n_be_invoice_bba | | +|l10n_be_invoice_bba | Done | +----------------------------------------------+-------------------------------------------------+ |l10n_bo | | +----------------------------------------------+-------------------------------------------------+