support currencies
This commit is contained in:
parent
636c5c4bd5
commit
d91dad2b2b
17 changed files with 95 additions and 30 deletions
|
|
@ -114,6 +114,7 @@ class AccountsList(CragrBasePage):
|
|||
account.label = required_tokens['account_name']
|
||||
account.id = required_tokens['account_number']
|
||||
account.balance = FrenchTransaction.clean_amount(required_tokens['account_amount'])
|
||||
account.currency = account.get_currency(required_tokens['account_amount'])
|
||||
# we found almost all required information to create an account object
|
||||
self.logger.debug('Found account %s with number %s and balance = %.2f' % (account.label, account.id, account.balance))
|
||||
# we may have found the owner name too
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue