From a4f83ad2539e385d5b321861a06fd51b0ce441e6 Mon Sep 17 00:00:00 2001 From: Ritwik Puri Date: Wed, 26 Jan 2022 01:42:21 +0530 Subject: [PATCH] fix: revert gateway_settings and gateway_controller as non mandatory fields in payment gateway doctype (#15729) --- frappe/core/doctype/payment_gateway/payment_gateway.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frappe/core/doctype/payment_gateway/payment_gateway.json b/frappe/core/doctype/payment_gateway/payment_gateway.json index f548b0dffb..7195b3949e 100644 --- a/frappe/core/doctype/payment_gateway/payment_gateway.json +++ b/frappe/core/doctype/payment_gateway/payment_gateway.json @@ -23,15 +23,13 @@ "fieldname": "gateway_settings", "fieldtype": "Link", "label": "Gateway Settings", - "options": "DocType", - "reqd": 1 + "options": "DocType" }, { "fieldname": "gateway_controller", "fieldtype": "Dynamic Link", "label": "Gateway Controller", - "options": "gateway_settings", - "reqd": 1 + "options": "gateway_settings" } ], "links": [],