diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 5fcc3a2c68f..4f62815f90f 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py @@ -95,7 +95,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None): if not value: import requests - api_url = "http://api.fixer.io/{0}".format(transaction_date) + api_url = "https://exchangeratesapi.io/api/{0}".format(transaction_date) response = requests.get(api_url, params={ "base": from_currency, "symbols": to_currency