From 7ab259b88f57efad637c4082b72cc92244869845 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Wed, 29 Sep 2021 18:54:38 +0200 Subject: [PATCH] fix migration script --- account_ebics/migrations/13.0.1.1/post-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics/migrations/13.0.1.1/post-migration.py b/account_ebics/migrations/13.0.1.1/post-migration.py index a34c97d..17ba1c6 100644 --- a/account_ebics/migrations/13.0.1.1/post-migration.py +++ b/account_ebics/migrations/13.0.1.1/post-migration.py @@ -27,7 +27,7 @@ def _ebics_config_upgrade(env, version): state = cfg_data['state'] == 'active' and 'confirm' or 'draft' cfg.write({ '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, 'state': state, })