mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
@@ -1064,7 +1064,7 @@ class JournalEntry(AccountsController):
|
|||||||
if self.multi_currency:
|
if self.multi_currency:
|
||||||
for row in self.get("accounts"):
|
for row in self.get("accounts"):
|
||||||
if row.account_currency != company_currency:
|
if row.account_currency != company_currency:
|
||||||
# Journal assumes the first foregin currency as transaction currency
|
# Journal assumes the first foreign currency as transaction currency
|
||||||
self.transaction_currency = row.account_currency
|
self.transaction_currency = row.account_currency
|
||||||
self.transaction_exchange_rate = row.exchange_rate
|
self.transaction_exchange_rate = row.exchange_rate
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user