mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 12:12:03 +00:00
fix migration script
This commit is contained in:
parent
f78c67a037
commit
eed09b9184
@ -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,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user