feat: Add 'Include in Import Template' field to DocField configuration

This commit is contained in:
Sumit Jain 2026-04-08 17:56:45 +05:30
parent 2cb6c5edcc
commit ee32129517
2 changed files with 10 additions and 1 deletions

View file

@ -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",

View file

@ -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