mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[OU-ADD] account_statement_import_online: Migration script
To have a smooth transition from older versions.
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user