You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frappe/core/doctype/doctype/doctype.json
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
"autoname",
28
28
"name_case",
29
29
"column_break_15",
30
+
"file_autoname",
30
31
"description",
31
32
"form_settings_section",
32
33
"image_field",
@@ -189,7 +190,7 @@
189
190
"label": "Naming"
190
191
},
191
192
{
192
-
"description": "Naming Options:\n<ol><li><b>field:[fieldname]</b> - By Field</li><li><b>naming_series:</b> - By Naming Series (field called naming_series must be present</li><li><b>Prompt</b> - Prompt user for a name</li><li><b>[series]</b> - Series by prefix (separated by a dot); for example PRE.#####</li>\n<li><b>format:EXAMPLE-{MM}morewords{fieldname1}-{fieldname2}-{#####}</b> - Replace all braced words (fieldnames, date words (DD, MM, YY), series) with their value. Outside braces, any characters can be used.</li></ol>",
193
+
"description": "Naming Options:\n<ol><li><b>field:[fieldname]</b> - By Field</li><li><b>naming_series:</b> - By Naming Series (field called naming_series must be present</li><li><b>Prompt</b> - Prompt user for a name</li><li><b>[series]</b> - Series by prefix (separated by a dot); for example PRE.#####</li>\n<li><b>format:EXAMPLE-{MM}-{fieldname1}-{fieldname2}-{#####}</b> - Replace all braced words (fieldnames, date words (DD, MM, YY), series) with their value. Outside braces, any characters can be used.</li></ol>",
193
194
"fieldname": "autoname",
194
195
"fieldtype": "Data",
195
196
"label": "Auto Name",
@@ -461,11 +462,17 @@
461
462
"fieldname": "show_title_field_in_link",
462
463
"fieldtype": "Check",
463
464
"label": "Show Title in Link and Table MultiSelect Field"
465
+
},
466
+
{
467
+
"description": "File Naming Options:\n<ol><li><b>field:[fieldname]</b> - By Field</li><li><b>naming_series:</b> - By Naming Series (field called naming_series must be present</li><li><b>Prompt</b> - Prompt user for a name</li><li><b>[series]</b> - Series by prefix (separated by a dot); for example PRE.#####</li>\n<li><b>format:EXAMPLE-{MM}-{fieldname1}-{fieldname2}-{#####}</b> - Replace all braced words (fieldnames, date words (DD, MM, YY), series) with their value. Outside braces, any characters can be used.</li></ol>",
Copy file name to clipboardExpand all lines: frappe/custom/doctype/customize_form/customize_form.json
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,10 @@
25
25
"show_title_field_in_link",
26
26
"image_field",
27
27
"search_fields",
28
+
"auto_name_section_section",
29
+
"autoname",
30
+
"cb_autoname_column",
31
+
"file_autoname",
28
32
"section_break_8",
29
33
"sort_field",
30
34
"column_break_10",
@@ -215,13 +219,36 @@
215
219
"fieldname": "attach_document_print",
216
220
"fieldtype": "Check",
217
221
"label": "Attach Document Print"
222
+
},
223
+
{
224
+
"description": "File Naming Options:\n<ol><li><b>field:[fieldname]</b> - By Field</li><li><b>naming_series:</b> - By Naming Series (field called naming_series must be present</li><li><b>Prompt</b> - Prompt user for a name</li><li><b>[series]</b> - Series by prefix (separated by a dot); for example PRE.#####</li>\n<li><b>format:EXAMPLE-{MM}-{fieldname1}-{fieldname2}-{#####}</b> - Replace all braced words (fieldnames, date words (DD, MM, YY), series) with their value. Outside braces, any characters can be used.</li></ol>",
225
+
"fieldname": "autoname",
226
+
"fieldtype": "Data",
227
+
"label": "AutoName"
228
+
},
229
+
{
230
+
"depends_on": "doc_type",
231
+
"fieldname": "auto_name_section_section",
232
+
"fieldtype": "Section Break",
233
+
"label": "Naming"
234
+
},
235
+
{
236
+
"fieldname": "cb_autoname_column",
237
+
"fieldtype": "Column Break"
238
+
},
239
+
{
240
+
"description": "File Naming Options:\n<ol><li><b>field:[fieldname]</b> - By Field</li><li><b>naming_series:</b> - By Naming Series (field called naming_series must be present</li><li><b>Prompt</b> - Prompt user for a name</li><li><b>[series]</b> - Series by prefix (separated by a dot); for example PRE.#####</li>\n<li><b>format:EXAMPLE-{MM}-{fieldname1}-{fieldname2}-{#####}</b> - Replace all braced words (fieldnames, date words (DD, MM, YY), series) with their value. Outside braces, any characters can be used.</li></ol>",
0 commit comments