diff --git a/frappe/core/doctype/docfield/docfield.json b/frappe/core/doctype/docfield/docfield.json index cdfa20d072..cf4b95f4f4 100644 --- a/frappe/core/doctype/docfield/docfield.json +++ b/frappe/core/doctype/docfield/docfield.json @@ -41,6 +41,7 @@ "print_hide", "print_hide_if_no_value", "report_hide", + "include_in_import_template", "column_break_28", "depends_on", "collapsible", @@ -640,6 +641,13 @@ "fieldname": "show_description_on_click", "fieldtype": "Check", "label": "Show Description on Click" + }, + { + "default": "0", + "description": "Enable this option to include the field in the data import template", + "fieldname": "include_in_import_template", + "fieldtype": "Check", + "label": "Include in Import Template" } ], "grid_page_length": 50, @@ -647,7 +655,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2026-03-10 21:39:58.400441", + "modified": "2026-04-07 15:23:18.264098", "modified_by": "Administrator", "module": "Core", "name": "DocField", diff --git a/frappe/core/doctype/docfield/docfield.py b/frappe/core/doctype/docfield/docfield.py index b97291b754..1613dc96eb 100644 --- a/frappe/core/doctype/docfield/docfield.py +++ b/frappe/core/doctype/docfield/docfield.py @@ -86,6 +86,7 @@ class DocField(Document): in_list_view: DF.Check in_preview: DF.Check in_standard_filter: DF.Check + include_in_import_template: DF.Check is_virtual: DF.Check label: DF.Data | None length: DF.Int