change currencies integer constants to ISO code strings

This commit is contained in:
Romain Bignon 2014-02-16 19:48:17 +01:00
commit 6099560b8c
11 changed files with 24 additions and 39 deletions

View file

@ -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