commit | 5c3b69476d5d842d8dbd191edaae67f810ff9738 | [log] [tgz] |
---|---|---|
author | Ameya Shenoy <shenoy.ameya@gmail.com> | Fri Jul 13 12:46:07 2018 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Fri Jul 13 12:46:07 2018 +0530 |
tree | 1d16e00f6be9a37f9a21de766cde5c9e3794f1a2 | |
parent | da17ceea73d736ad80e935963e9e5dd10bdd7ae6 [diff] [blame] |
shift to self-hosted frankfurter api (#14792)
diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 4f62815..f318c04 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py
@@ -95,7 +95,7 @@ if not value: import requests - api_url = "https://exchangeratesapi.io/api/{0}".format(transaction_date) + api_url = "https://frankfurter.erpnext.org/{0}".format(transaction_date) response = requests.get(api_url, params={ "base": from_currency, "symbols": to_currency