From 40b787827a37d4d4aa8988bd8d5923ca7ffb0abd Mon Sep 17 00:00:00 2001 From: ljain112 Date: Mon, 24 Nov 2025 18:04:56 +0530 Subject: [PATCH] fix: use alias for get_exchange_rate function in JournalEntry --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index c31705ee957..f114095d0ab 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -1832,7 +1832,7 @@ def get_exchange_rate( # The date used to retreive the exchange rate here is the date passed # in as an argument to this function. elif (not flt(exchange_rate) or flt(exchange_rate) == 1) and account_currency and posting_date: - exchange_rate = get_exchange_rate(account_currency, company_currency, posting_date) + exchange_rate = _get_exchange_rate(account_currency, company_currency, posting_date) else: exchange_rate = 1