diff --git a/frappe/custom/doctype/customize_form/customize_form.json b/frappe/custom/doctype/customize_form/customize_form.json index 03ac4d1761..4eb0593966 100644 --- a/frappe/custom/doctype/customize_form/customize_form.json +++ b/frappe/custom/doctype/customize_form/customize_form.json @@ -13,6 +13,7 @@ "label", "search_fields", "grid_page_length", + "rows_threshold_for_grid_search", "link_filters", "column_break_5", "istable", @@ -422,6 +423,13 @@ "fieldname": "recipient_account_field", "fieldtype": "Data", "label": "Recipient Account Field" + }, + { + "depends_on": "istable", + "fieldname": "rows_threshold_for_grid_search", + "fieldtype": "Int", + "label": "Rows Threshold for Grid Search", + "non_negative": 1 } ], "hide_toolbar": 1, @@ -430,7 +438,7 @@ "index_web_pages_for_search": 1, "issingle": 1, "links": [], - "modified": "2025-07-19 12:23:41.564203", + "modified": "2025-09-23 07:13:52.631903", "modified_by": "Administrator", "module": "Custom", "name": "Customize Form", diff --git a/frappe/custom/doctype/customize_form/customize_form.py b/frappe/custom/doctype/customize_form/customize_form.py index 584882a754..f5061f3f52 100644 --- a/frappe/custom/doctype/customize_form/customize_form.py +++ b/frappe/custom/doctype/customize_form/customize_form.py @@ -75,6 +75,7 @@ class CustomizeForm(Document): queue_in_background: DF.Check quick_entry: DF.Check recipient_account_field: DF.Data | None + rows_threshold_for_grid_search: DF.Int search_fields: DF.Data | None sender_field: DF.Data | None sender_name_field: DF.Data | None @@ -748,6 +749,7 @@ doctype_properties = { "force_re_route_to_default_view": "Check", "translated_doctype": "Check", "grid_page_length": "Int", + "rows_threshold_for_grid_search": "Int", } docfield_properties = {