Commit 23ccf4c6 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[banquepopulaire] Modified owner_name account search for companies

Profile either has `name` or `company_name` attribute. The search on the
accounts was done only on `name`, not `company_name` which caused bugs.

Closes: 47716@sibi 13705@zendesk
parent 22cbec48
......@@ -276,7 +276,11 @@ class BanquePopulaire(LoginBrowser):
# thanks to stateful website
next_pages = []
accounts = []
owner_name =' (.+)', self.get_profile().name).group(1).upper()
profile = self.get_profile()
owner_name =' (.+)',
owner_name =' (.+)', profile.company_name).group(1).upper()
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