Travis (#14354)
* Fix Purchase Receipt tests
* Fix Item test
* Fix daily work summary test
* Modify currency exchange test cases
* Fix Leave Application test
* Update working hours when making salary slip from timesheet
* Replace fixer.io with exchangeratesapi
* Fix codacy
diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py
index bc17f88..3fe862e 100644
--- a/erpnext/setup/utils.py
+++ b/erpnext/setup/utils.py
@@ -97,7 +97,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