feat(customize_form): add 'in_import_template' field option to customize form and field

This commit is contained in:
Sumit Jain 2026-04-27 10:43:04 +05:30
parent 42470e9201
commit 440c94ff9e
3 changed files with 11 additions and 1 deletions

View file

@ -787,6 +787,7 @@ docfield_properties = {
"print_hide": "Check",
"print_hide_if_no_value": "Check",
"report_hide": "Check",
"in_import_template": "Check",
"allow_on_submit": "Check",
"translatable": "Check",
"mandatory_depends_on": "Data",

View file

@ -48,6 +48,7 @@
"ignore_user_permissions",
"allow_on_submit",
"report_hide",
"in_import_template",
"remember_last_selected_value",
"hide_border",
"ignore_xss_filter",
@ -293,6 +294,13 @@
"oldfieldname": "report_hide",
"oldfieldtype": "Check"
},
{
"default": "0",
"description": "Enable this option to include the field in the data import template",
"fieldname": "in_import_template",
"fieldtype": "Check",
"label": "Include in Import Template"
},
{
"default": "0",
"depends_on": "eval:(doc.fieldtype == 'Link')",
@ -523,7 +531,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2026-03-22 10:36:12.968197",
"modified": "2026-04-27 12:00:00.000000",
"modified_by": "Administrator",
"module": "Custom",
"name": "Customize Form Field",

View file

@ -81,6 +81,7 @@ class CustomizeFormField(Document):
ignore_xss_filter: DF.Check
in_filter: DF.Check
in_global_search: DF.Check
in_import_template: DF.Check
in_list_view: DF.Check
in_preview: DF.Check
in_standard_filter: DF.Check