Commit 27ac4d4e authored by Florent Viard's avatar Florent Viard Committed by Vincent A

[boursorama] Fixes a case of Recipient Not Found error when using boobank to add a recipient

Boobank does not "pre set" a of the recipient object it
creates to add a new recipient.

So, trying to match the new list of recipients with the new recipient by
id will fail.
We match with iban instead, as an iban is mandatory to add a recipient
parent 0b884402
......@@ -880,7 +880,7 @@ class BoursoramaBrowser(RetryLoginBrowser, TwoFactorBrowser):
# We are taking it from the recipient list page
# because there is no summary of the adding
self.go_recipients_list(account_url, recipient.origin_account_id)
return find_object(,, error=RecipientNotFound)
return find_object(, iban=recipient.iban, error=RecipientNotFound)
def iter_transfers(self, account):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment