change currencies integer constants to ISO code strings
This commit is contained in:
parent
407774937d
commit
6099560b8c
11 changed files with 24 additions and 39 deletions
|
|
@ -65,8 +65,7 @@ class DashboardPage(BasePage):
|
|||
account.balance = Decimal(FrenchTransaction.clean_amount(
|
||||
get_field('accountTotal')))
|
||||
account.label = get_field('accountLabel2')
|
||||
account.currency = Account.TXT2CUR.get(get_field('accountDev'),
|
||||
Account.CUR_UNKNOWN)
|
||||
account.currency = account.get_currency(get_field('accountDev'))
|
||||
|
||||
return account
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue