mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
fix: make fields editable only when service provider is custom
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "API Endpoint",
|
"label": "API Endpoint",
|
||||||
|
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -55,6 +56,7 @@
|
|||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Parameters",
|
"label": "Parameters",
|
||||||
"options": "Currency Exchange Settings Details",
|
"options": "Currency Exchange Settings Details",
|
||||||
|
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -66,6 +68,7 @@
|
|||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Result Key",
|
"label": "Result Key",
|
||||||
"options": "Currency Exchange Settings Result",
|
"options": "Currency Exchange Settings Result",
|
||||||
|
"read_only_depends_on": "eval: doc.service_provider != \"Custom\"",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -79,7 +82,7 @@
|
|||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"issingle": 1,
|
"issingle": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-11-03 19:27:27.922353",
|
"modified": "2021-11-04 10:27:09.332768",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Currency Exchange Settings",
|
"name": "Currency Exchange Settings",
|
||||||
|
|||||||
Reference in New Issue
Block a user