mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
Merge pull request #48537 from frappe/mergify/bp/version-15-hotfix/pr-48495
This commit is contained in:
@@ -104,7 +104,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None, args=No
|
|||||||
if not transaction_date:
|
if not transaction_date:
|
||||||
transaction_date = nowdate()
|
transaction_date = nowdate()
|
||||||
|
|
||||||
currency_settings = frappe.get_doc("Accounts Settings").as_dict()
|
currency_settings = frappe.get_cached_doc("Accounts Settings")
|
||||||
allow_stale_rates = currency_settings.get("allow_stale")
|
allow_stale_rates = currency_settings.get("allow_stale")
|
||||||
|
|
||||||
filters = [
|
filters = [
|
||||||
|
|||||||
Reference in New Issue
Block a user