[OU-ADD] account_statement_import_online: Migration script

To have a smooth transition from older versions.
This commit is contained in:
Pedro M. Baeza
2023-01-17 12:04:32 +01:00
parent ad5ac50377
commit 214ea0d625

View File

@@ -0,0 +1,12 @@
# Copyright 2023 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
# Remove record that has changed its based model
env.ref(
"account_statement_import_online.action_online_bank_statements_pull_wizard"
).unlink()