From 6ca4bd66ed20a7331157a166e8ea21746b6e995d Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 26 Jul 2017 12:18:03 +0200 Subject: [PATCH] [10.0][MIG] l10n_ch --- .../migrations/10.0.9.0/openupgrade_analysis_work.txt | 5 +++++ addons/l10n_ch/migrations/10.0.9.0/pre-migration.py | 9 +++++++++ odoo/openupgrade/doc/source/modules90-100.rst | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 addons/l10n_ch/migrations/10.0.9.0/openupgrade_analysis_work.txt create mode 100644 addons/l10n_ch/migrations/10.0.9.0/pre-migration.py diff --git a/addons/l10n_ch/migrations/10.0.9.0/openupgrade_analysis_work.txt b/addons/l10n_ch/migrations/10.0.9.0/openupgrade_analysis_work.txt new file mode 100644 index 000000000000..20e8aaf0e531 --- /dev/null +++ b/addons/l10n_ch/migrations/10.0.9.0/openupgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Fields in module 'l10n_ch'--- +---XML records in module 'l10n_ch'--- +DEL ir.actions.client: l10n_ch.action_client_l10n_ch_menu +DEL ir.actions.todo: base.open_menu +# Done: pre-migration. Removed noupdate=1 xmlids \ No newline at end of file diff --git a/addons/l10n_ch/migrations/10.0.9.0/pre-migration.py b/addons/l10n_ch/migrations/10.0.9.0/pre-migration.py new file mode 100644 index 000000000000..10f68ae1673e --- /dev/null +++ b/addons/l10n_ch/migrations/10.0.9.0/pre-migration.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Eficent +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + env.ref('l10n_ch.action_client_l10n_ch_menu').unlink() diff --git a/odoo/openupgrade/doc/source/modules90-100.rst b/odoo/openupgrade/doc/source/modules90-100.rst index 07567c51b7d6..04ca6da74ee0 100644 --- a/odoo/openupgrade/doc/source/modules90-100.rst +++ b/odoo/openupgrade/doc/source/modules90-100.rst @@ -205,7 +205,7 @@ missing in the new release are marked with |del|. +-----------------------------------+-----------------------------------+ |l10n_ca | | +-----------------------------------+-----------------------------------+ -|l10n_ch | | +|l10n_ch | Done | +-----------------------------------+-----------------------------------+ |l10n_cl | | +-----------------------------------+-----------------------------------+