bank-payment/account_payment_order/migrations/14.0.2.0.0/pre-migration.py
2023-05-19 10:19:51 +02:00

9 lines
252 B
Python

# 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"])