From bf57938aa7316d8a5cbabe51cdc0c7d4fac4ee86 Mon Sep 17 00:00:00 2001 From: Guillaume Risbourg Date: Mon, 11 May 2020 10:41:38 +0200 Subject: [PATCH] [cmso] Retrieve the _bic of the account from the emitters list Sometimes the _bic of the emitter account in the iter_accounts. This can be fixed by getting the bic of the emitter accounts at the same time we get the ciphered contract number and ciphered iban. --- modules/cmso/par/browser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cmso/par/browser.py b/modules/cmso/par/browser.py index b2a0aa2204..334dac5674 100644 --- a/modules/cmso/par/browser.py +++ b/modules/cmso/par/browser.py @@ -487,6 +487,7 @@ def init_transfer(self, account, recipient, amount, reason, exec_date): if rcpt.id == account._recipient_id: account._ciphered_iban = rcpt._ciphered_iban account._ciphered_contract_number = rcpt._ciphered_contract_number + account._bic = rcpt._bic break transfer_data = { -- GitLab