Commit 10515575 authored by Célande Adrien's avatar Célande Adrien Committed by Romain Bignon

[bp] iban duplicate

For multiple checking accounts, the iban url was fetched on the same page.
Now the detail page of the account is open so the correct url is got.

Closes: 9914@zendesk
parent 90da4c02
......@@ -102,7 +102,11 @@ class item_account_generic(ItemElement):
return NotAvailable
def obj_iban(self):
rib_link = Link('//a[abbr[contains(text(), "RIB")]]', default=NotAvailable)(self.el)
if not Field('url')(self):
return NotAvailable
details_page ='url')(self)).page
rib_link = Link('//a[abbr[contains(text(), "RIB")]]', default=NotAvailable)(details_page.doc)
if rib_link:
response =
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