From db29c2ca0f13d0817f496c8bebb4c19161df0cda Mon Sep 17 00:00:00 2001 From: James Jesudason Date: Thu, 10 Nov 2011 14:19:20 +0000 Subject: [PATCH] [FIX] correct computation of statement lines and account moves of foreign currency bank statements --- account_banking_uk_hsbc/hsbc_mt940.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_banking_uk_hsbc/hsbc_mt940.py b/account_banking_uk_hsbc/hsbc_mt940.py index 9e5312203..c72c5c493 100644 --- a/account_banking_uk_hsbc/hsbc_mt940.py +++ b/account_banking_uk_hsbc/hsbc_mt940.py @@ -85,7 +85,7 @@ class statement(models.mem_bank_statement): self.id = '-'.join([self.id, self.local_account, record['statementnr']]) def _opening_balance(): self.start_balance = record2float(record,'startingbalance') - self.currency_code = record['currencycode'] + self.local_currency = record['currencycode'] def _closing_balance(): self.end_balance = record2float(record, 'endingbalance') self.date = record['bookingdate']