[fix] Get exchange rate as 1 if same currency
diff --git a/erpnext/setup/utils.py b/erpnext/setup/utils.py
index e44a53f..c3bd452 100644
--- a/erpnext/setup/utils.py
+++ b/erpnext/setup/utils.py
@@ -63,6 +63,9 @@
 
 @frappe.whitelist()
 def get_exchange_rate(from_currency, to_currency):
+	if from_currency == to_currency:
+		return 1
+	
 	exchange = "%s-%s" % (from_currency, to_currency)
 	value = flt(frappe.db.get_value("Currency Exchange", exchange, "exchange_rate"))