From 196cd3dec023c958d45916735e8c0965fdb9af2e Mon Sep 17 00:00:00 2001 From: Ruchir Shukla Date: Wed, 15 Oct 2014 11:08:57 +0530 Subject: [PATCH] replace fixed currency to company currency --- 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 b36301e9a..fb01e0505 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 = 'EUR' + statement.local_currency = statement.company_id.currency_id.id else: statement.local_currency = self.xpath(node, './ns:Acct/ns:Ccy')[0].text