mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
replace fixed currency to company currency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user