fix migration script

This commit is contained in:
Luc De Meyer 2021-09-29 18:54:38 +02:00
parent 460d58b0df
commit 7ab259b88f

View File

@ -27,7 +27,7 @@ def _ebics_config_upgrade(env, version):
state = cfg_data['state'] == 'active' and 'confirm' or 'draft' state = cfg_data['state'] == 'active' and 'confirm' or 'draft'
cfg.write({ cfg.write({
'company_ids': [(6, 0, [cfg_data['company_id']])], 'company_ids': [(6, 0, [cfg_data['company_id']])],
'journal_ids': [(6, 0, [journal.id])], 'journal_ids': [(6, 0, [journal.ids])],
'ebics_keys': ebics_keys_root, 'ebics_keys': ebics_keys_root,
'state': state, 'state': state,
}) })