From 98bff921d827782dd5960cb4e4e0dcca953f5c4e Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 1 Apr 2016 02:28:01 +0200 Subject: [PATCH] [FIX] account_banking_camt: Fixes #207 --- account_banking_camt/camt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_banking_camt/camt.py b/account_banking_camt/camt.py index b05be0596..df22043bd 100644 --- a/account_banking_camt/camt.py +++ b/account_banking_camt/camt.py @@ -152,7 +152,7 @@ CAMT Format parser # Assuming If there is no Ccy tag then it belongs to defaut currency if not self.xpath(node, './ns:Acct/ns:Ccy'): - statement.local_currency = statement.company_id.currency_id.id + statement.local_currency = 'EUR' else: statement.local_currency = self.xpath(node, './ns:Acct/ns:Ccy')[0].text