fix: make fields editable only when service provider is custom
diff --git a/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.json b/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.json
index a0530c1..091102c 100644
--- a/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.json
+++ b/erpnext/accounts/doctype/currency_exchange_settings/currency_exchange_settings.json
@@ -27,6 +27,7 @@
    "fieldtype": "Data",
    "in_list_view": 1,
    "label": "API Endpoint",
+   "read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
    "reqd": 1
   },
   {
@@ -55,6 +56,7 @@
    "fieldtype": "Table",
    "label": "Parameters",
    "options": "Currency Exchange Settings Details",
+   "read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
    "reqd": 1
   },
   {
@@ -66,6 +68,7 @@
    "fieldtype": "Table",
    "label": "Result Key",
    "options": "Currency Exchange Settings Result",
+   "read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
    "reqd": 1
   },
   {
@@ -79,7 +82,7 @@
  "index_web_pages_for_search": 1,
  "issingle": 1,
  "links": [],
- "modified": "2021-11-03 19:27:27.922353",
+ "modified": "2021-11-04 10:27:09.332768",
  "modified_by": "Administrator",
  "module": "Accounts",
  "name": "Currency Exchange Settings",