mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 07:28:04 +00:00
fix: Cleanup and fixes
This commit is contained in:
@@ -100,7 +100,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None, args=No
|
||||
|
||||
if not value:
|
||||
import requests
|
||||
settings = frappe.get_single('Currency Exchange Settings')
|
||||
settings = frappe.get_cached_doc('Currency Exchange Settings')
|
||||
req_params = {
|
||||
"transaction_date": transaction_date,
|
||||
"from_currency": from_currency,
|
||||
|
||||
Reference in New Issue
Block a user