From e54274f29047fd2a1d5de275d869a92d7d4d2ae5 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 20 Aug 2024 10:39:40 +0530 Subject: [PATCH] chore: Deleted all the form tours (#27403) --- frappe/core/form_tour/doctype/doctype.json | 56 ----------- .../form_tour/custom_field/custom_field.json | 79 ---------------- .../form_tour/letter_head/letter_head.json | 53 ----------- .../form_tour/print_format/print_format.json | 94 ------------------- 4 files changed, 282 deletions(-) delete mode 100644 frappe/core/form_tour/doctype/doctype.json delete mode 100644 frappe/custom/form_tour/custom_field/custom_field.json delete mode 100644 frappe/printing/form_tour/letter_head/letter_head.json delete mode 100644 frappe/printing/form_tour/print_format/print_format.json diff --git a/frappe/core/form_tour/doctype/doctype.json b/frappe/core/form_tour/doctype/doctype.json deleted file mode 100644 index 391d3ecf40..0000000000 --- a/frappe/core/form_tour/doctype/doctype.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "creation": "2021-11-23 12:38:52.807353", - "docstatus": 0, - "doctype": "Form Tour", - "first_document": 0, - "idx": 0, - "include_name_field": 1, - "is_standard": 1, - "modified": "2021-11-25 17:03:01.646360", - "modified_by": "Administrator", - "module": "Core", - "name": "Doctype", - "owner": "Administrator", - "reference_doctype": "DocType", - "save_on_complete": 1, - "steps": [ - { - "description": "Select a Module to which this DocType would belong", - "field": "", - "fieldname": "module", - "fieldtype": "Link", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Module", - "parent_field": "", - "position": "Right", - "title": "Module" - }, - { - "description": "Check this to make the DocType as Custom", - "field": "", - "fieldname": "custom", - "fieldtype": "Check", - "has_next_condition": 1, - "is_table_field": 0, - "label": "Custom?", - "next_step_condition": "eval: doc.custom", - "parent_field": "", - "position": "Left", - "title": "Custom " - }, - { - "description": "A Field (or a docfield) defines a property of a DocType. You can define the column name, label, datatype and more for DocFields. For instance, a ToDo doctype has fields description, status and priority. These ultimately become columns in the database table tabToDo.", - "field": "", - "fieldname": "fields", - "fieldtype": "Table", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Fields", - "parent_field": "", - "position": "Top", - "title": "Fields" - } - ], - "title": "Doctype" -} \ No newline at end of file diff --git a/frappe/custom/form_tour/custom_field/custom_field.json b/frappe/custom/form_tour/custom_field/custom_field.json deleted file mode 100644 index 3279449e7c..0000000000 --- a/frappe/custom/form_tour/custom_field/custom_field.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "creation": "2021-11-23 12:22:32.922700", - "docstatus": 0, - "doctype": "Form Tour", - "first_document": 0, - "idx": 0, - "include_name_field": 0, - "is_standard": 1, - "modified": "2021-11-24 19:15:34.244244", - "modified_by": "Administrator", - "module": "Custom", - "name": "Custom Field", - "owner": "Administrator", - "reference_doctype": "Custom Field", - "save_on_complete": 1, - "steps": [ - { - "description": "Select a Document for which you want the Custom Field", - "field": "", - "fieldname": "dt", - "fieldtype": "Link", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Document", - "parent_field": "", - "position": "Right", - "title": "Document" - }, - { - "description": "Enter a Label for this field", - "field": "", - "fieldname": "label", - "fieldtype": "Data", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Label", - "parent_field": "", - "position": "Right", - "title": "Label" - }, - { - "description": "Select the label after which you want to insert new field.", - "field": "", - "fieldname": "insert_after", - "fieldtype": "Select", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Insert After", - "parent_field": "", - "position": "Right", - "title": "Insert After" - }, - { - "description": "Select an appropriate Field Type that suits your requirements", - "field": "", - "fieldname": "fieldtype", - "fieldtype": "Select", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Field Type", - "parent_field": "", - "position": "Left", - "title": "Field Type" - }, - { - "description": "Check this to make it a mandatory field", - "field": "", - "fieldname": "reqd", - "fieldtype": "Check", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Is Mandatory Field", - "parent_field": "", - "position": "Left", - "title": "Is Mandatory Field" - } - ], - "title": "Custom Field" -} \ No newline at end of file diff --git a/frappe/printing/form_tour/letter_head/letter_head.json b/frappe/printing/form_tour/letter_head/letter_head.json deleted file mode 100644 index 66730b4e38..0000000000 --- a/frappe/printing/form_tour/letter_head/letter_head.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "creation": "2021-11-22 15:26:53.878805", - "docstatus": 0, - "doctype": "Form Tour", - "idx": 0, - "is_standard": 1, - "modified": "2021-11-22 15:26:53.878805", - "modified_by": "Administrator", - "module": "Printing", - "name": "Letter Head", - "owner": "Administrator", - "reference_doctype": "Letter Head", - "save_on_complete": 1, - "steps": [ - { - "description": "Let's name your first Letter Head with your company's name", - "field": "", - "fieldname": "letter_head_name", - "fieldtype": "Data", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Letter Head Name", - "parent_field": "", - "position": "Right", - "title": "Letter Head Name" - }, - { - "description": "Select the image containing only header part of your letter Head.", - "field": "", - "fieldname": "image", - "fieldtype": "Attach Image", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Image", - "parent_field": "", - "position": "Right", - "title": "Image" - }, - { - "description": "You can mark the Letter Head as default", - "field": "", - "fieldname": "is_default", - "fieldtype": "Check", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Default Letter Head", - "parent_field": "", - "position": "Right", - "title": "Default Letter Head" - } - ], - "title": "Letter Head" -} \ No newline at end of file diff --git a/frappe/printing/form_tour/print_format/print_format.json b/frappe/printing/form_tour/print_format/print_format.json deleted file mode 100644 index 0f2b303040..0000000000 --- a/frappe/printing/form_tour/print_format/print_format.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "creation": "2021-11-24 17:31:44.978996", - "docstatus": 0, - "doctype": "Form Tour", - "first_document": 0, - "idx": 0, - "include_name_field": 1, - "is_standard": 1, - "modified": "2021-11-24 17:58:00.807972", - "modified_by": "Administrator", - "module": "Printing", - "name": "Print Format", - "owner": "Administrator", - "reference_doctype": "Print Format", - "save_on_complete": 1, - "steps": [ - { - "description": "Select a Doctype for which you want to create a Print Format", - "field": "", - "fieldname": "doc_type", - "fieldtype": "Link", - "has_next_condition": 0, - "is_table_field": 0, - "label": "DocType", - "parent_field": "", - "position": "Right", - "title": "Doctype" - }, - { - "description": "You can modify the style of the Print Format from this section", - "field": "", - "fieldname": "section_break_9", - "fieldtype": "Section Break", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Style Settings", - "parent_field": "", - "position": "Top", - "title": "Style Settings" - }, - { - "description": "You can add custom css for your Print Format from this section", - "field": "", - "fieldname": "css", - "fieldtype": "Code", - "has_next_condition": 0, - "is_table_field": 0, - "label": "Custom CSS", - "parent_field": "", - "position": "Top", - "title": "Custom CSS" - }, - { - "description": "Check this if you want to add custom Jinja Code or JavaScript to your Print Format", - "field": "", - "fieldname": "custom_format", - "fieldtype": "Check", - "has_next_condition": 1, - "is_table_field": 0, - "label": "Custom Format", - "next_step_condition": "eval: doc.custom_format", - "parent_field": "", - "position": "Left", - "title": "Custom Format" - }, - { - "description": "Select the type of Print Format", - "field": "", - "fieldname": "print_format_type", - "fieldtype": "Select", - "has_next_condition": 1, - "is_table_field": 0, - "label": "Print Format Type", - "next_step_condition": "eval: doc.custom_format", - "parent_field": "", - "position": "Right", - "title": "Print Format Type" - }, - { - "description": "Enter the code based on the Print Format Type you selected above", - "field": "", - "fieldname": "html", - "fieldtype": "Code", - "has_next_condition": 1, - "is_table_field": 0, - "label": "HTML", - "next_step_condition": "eval:doc.html", - "parent_field": "", - "position": "Right", - "title": "Code" - } - ], - "title": "Print Format" -} \ No newline at end of file