From 5c7d28a826f4526e5f1e89fb4fc175258b27aacb Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Mon, 20 Apr 2026 14:16:10 +0000 Subject: [PATCH] fix(doctype): show Permissions tab only when doctype is not a child table --- frappe/core/doctype/doctype/doctype.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frappe/core/doctype/doctype/doctype.json b/frappe/core/doctype/doctype/doctype.json index 95f85fd9e8..f77190d18d 100644 --- a/frappe/core/doctype/doctype/doctype.json +++ b/frappe/core/doctype/doctype/doctype.json @@ -665,6 +665,7 @@ "label": "Sender Name Field" }, { + "depends_on": "eval:!doc.istable", "fieldname": "permissions_tab", "fieldtype": "Tab Break", "label": "Permissions" @@ -792,7 +793,7 @@ "link_fieldname": "document_type" } ], - "modified": "2025-09-23 06:48:13.555017", + "modified": "2026-04-20 16:06:57.212832", "modified_by": "Administrator", "module": "Core", "name": "DocType", @@ -823,6 +824,7 @@ ], "route": "doctype", "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, "search_fields": "module", "show_name_in_global_search": 1, "sort_field": "creation",