Skip to content

Commit

Permalink
Add pre-migrate script to drop column bvr_adherent_num
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneVagile committed Mar 3, 2022
1 parent 1cb43fe commit 4004a39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions l10n_ch_base_bank/migrations/14.0.1.0.0/pre-migrate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
column_spec = [("res_partner_bank", "bvr_adherent_num")]
openupgrade.drop_columns(env.cr, column_spec)

0 comments on commit 4004a39

Please sign in to comment.