replace fixed currency to company currency

This commit is contained in:
Ruchir Shukla
2014-10-15 11:08:57 +05:30
parent eecca69306
commit 196cd3dec0

View File

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