commit | 7cf01e7c75e4e8d28e4f3f7e71f670b9dd0a6534 | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Tue Jun 05 10:30:20 2018 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Tue Jun 05 10:30:20 2018 +0530 |
tree | f6c64c2f441c30bb61ba870c35f6ef35f6a97f43 | |
parent | fc03a0463c0611c5ed48a878b5c042ce2348e4cd [diff] |
Replaced fixer api with exchangeratesapi (#14347)
diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py index 5fcc3a2..4f62815 100644 --- a/erpnext/setup/utils.py +++ b/erpnext/setup/utils.py
@@ -95,7 +95,7 @@ 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