Merge branch 'develop' of https://github.com/frappe/erpnext into erpnext_setup_cleanup

This commit is contained in:
Deepesh Garg
2022-05-03 18:17:36 +05:30
580 changed files with 2111 additions and 28046 deletions

View File

@@ -110,7 +110,7 @@ def get_exchange_rate(from_currency, to_currency, transaction_date=None, args=No
cache.setex(name=key, time=21600, value=flt(value))
return flt(value)
except Exception:
frappe.log_error(title="Get Exchange Rate")
frappe.log_error("Unable to fetch exchange rate")
frappe.msgprint(
_(
"Unable to find exchange rate for {0} to {1} for key date {2}. Please create a Currency Exchange record manually"