From 299a15652fad8d8e3d271ed496350d077e3f3413 Mon Sep 17 00:00:00 2001 From: Sumit Jain Date: Fri, 24 Apr 2026 16:53:43 +0530 Subject: [PATCH] feat(customize_form): add 'Allow Bulk Edit' option for child table fields --- frappe/custom/doctype/customize_form/customize_form.json | 9 +++++++++ frappe/custom/doctype/customize_form/customize_form.py | 2 ++ 2 files changed, 11 insertions(+) diff --git a/frappe/custom/doctype/customize_form/customize_form.json b/frappe/custom/doctype/customize_form/customize_form.json index 5cb6e91398..f04563a1cb 100644 --- a/frappe/custom/doctype/customize_form/customize_form.json +++ b/frappe/custom/doctype/customize_form/customize_form.json @@ -24,6 +24,7 @@ "track_views", "allow_auto_repeat", "allow_import", + "allow_bulk_edit", "queue_in_background", "naming_section", "naming_rule", @@ -222,6 +223,14 @@ "fieldtype": "Check", "label": "Allow Import (via Data Import Tool)" }, + { + "default": "1", + "depends_on": "istable", + "description": "Enable bulk edit for child table fields in Form view.", + "fieldname": "allow_bulk_edit", + "fieldtype": "Check", + "label": "Allow Bulk Edit" + }, { "depends_on": "email_append_to", "fieldname": "subject_field", diff --git a/frappe/custom/doctype/customize_form/customize_form.py b/frappe/custom/doctype/customize_form/customize_form.py index e2646dc8c4..78625eb99c 100644 --- a/frappe/custom/doctype/customize_form/customize_form.py +++ b/frappe/custom/doctype/customize_form/customize_form.py @@ -42,6 +42,7 @@ class CustomizeForm(Document): actions: DF.Table[DocTypeAction] allow_auto_repeat: DF.Check + allow_bulk_edit: DF.Check allow_copy: DF.Check allow_import: DF.Check autoname: DF.Data | None @@ -744,6 +745,7 @@ doctype_properties = { "track_views": "Check", "allow_auto_repeat": "Check", "allow_import": "Check", + "allow_bulk_edit": "Check", "show_name_in_global_search": "Check", "show_preview_popup": "Check", "default_email_template": "Data",