hellobank: get default account name if the custom name is empty
This commit is contained in:
parent
173120a1d3
commit
2a4469bddc
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class AccountsList(BasePage):
|
|||
id_famille = famille['idFamilleCompte']
|
||||
for compte in famille['compte']:
|
||||
account = Account()
|
||||
account.label = u''+compte['libellePersoProduit']
|
||||
account.label = unicode(compte['libellePersoProduit'] or compte['libelleProduit'])
|
||||
account.currency = account.get_currency(compte['devise'])
|
||||
account.balance = Decimal(str(compte['soldeDispo']))
|
||||
account.coming = Decimal(str(compte['soldeAVenir']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue