bank-payment/account_payment_mode/migrations/11.0.1.0.1/pre-migration.py
2021-03-23 20:28:51 +01:00

10 lines
282 B
Python

# Copyright 2018 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
def migrate(cr, version):
if not version:
return
cr.execute('ALTER TABLE res_partner_bank DROP COLUMN IF EXISTS acc_type')