Skip to content

Commit

Permalink
Remove ccp field too
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneVagile committed Mar 4, 2022
1 parent 4004a39 commit afa0f17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion l10n_ch_base_bank/migrations/14.0.1.0.0/pre-migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@

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

0 comments on commit afa0f17

Please sign in to comment.