bank-payment/account_payment_order/migrations/14.0.2.0.0/pre-migration.py

9 lines
252 B
Python
Raw Permalink Normal View History

2023-05-19 08:19:51 +00:00
# Copyright 2023 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
openupgrade.remove_tables_fks(env.cr, ["bank_payment_line"])