Browse Source

MST doctype udpates

version2
venkata akhil 12 months ago
parent
commit
4902ccbde2
  1. 4
      smart_service/phase_2/doctype/instructions/instructions.json
  2. 41
      smart_service/phase_2/doctype/special_tool_information/special_tool_information.json

4
smart_service/phase_2/doctype/instructions/instructions.json

@ -8,9 +8,9 @@
"field_order": [ "field_order": [
"step_name", "step_name",
"content_type", "content_type",
"title",
"content", "content",
"attach_file", "attach_file"
"title"
], ],
"fields": [ "fields": [
{ {

41
smart_service/phase_2/doctype/special_tool_information/special_tool_information.json

@ -11,22 +11,23 @@
"column_break_cyo0a", "column_break_cyo0a",
"vehicle", "vehicle",
"tool_type", "tool_type",
"tool_name",
"keywords", "keywords",
"image",
"aggregate_image",
"column_break_m3p9i", "column_break_m3p9i",
"category", "category",
"aggregate_name", "aggregate_name",
"tool_name", "aggregate_image",
"pdf", "aggregate_image_preview",
"column_break_wvkn2", "column_break_wvkn2",
"active_status", "active_status",
"display_order", "display_order",
"video", "video",
"pdf",
"image",
"image_preview",
"my_id", "my_id",
"section_break_e91wx", "section_break_e91wx",
"instructions", "instructions"
"image_preview"
], ],
"fields": [ "fields": [
{ {
@ -43,14 +44,17 @@
"fieldname": "display_order", "fieldname": "display_order",
"fieldtype": "Int", "fieldtype": "Int",
"in_list_view": 1, "in_list_view": 1,
"label": "Display Order" "label": "Display Order",
"non_negative": 1,
"reqd": 1
}, },
{ {
"fieldname": "my_id", "fieldname": "my_id",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 1, "hidden": 1,
"in_list_view": 1, "in_list_view": 1,
"label": "My ID" "label": "My ID",
"non_negative": 1
}, },
{ {
"default": "0", "default": "0",
@ -70,6 +74,8 @@
{ {
"fieldname": "active_status", "fieldname": "active_status",
"fieldtype": "Select", "fieldtype": "Select",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Active Status", "label": "Active Status",
"options": "Active\nInactive" "options": "Active\nInactive"
}, },
@ -100,6 +106,7 @@
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "Category", "label": "Category",
"options": "Maintenance Service Category(MS)\nRepair Service Category(RS)\nOverhaul Service Category(OS)\nTEB", "options": "Maintenance Service Category(MS)\nRepair Service Category(RS)\nOverhaul Service Category(OS)\nTEB",
"reqd": 1,
"set_only_once": 1 "set_only_once": 1
}, },
{ {
@ -118,13 +125,15 @@
"fieldname": "instructions", "fieldname": "instructions",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Instructions", "label": "Instructions",
"options": "Instructions" "options": "Instructions",
"reqd": 1
}, },
{ {
"fieldname": "tool_type", "fieldname": "tool_type",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Tool Type", "label": "Tool Type",
"options": "New Tool\nCarry Over", "options": "New Tool\nCarry Over",
"reqd": 1,
"set_only_once": 1 "set_only_once": 1
}, },
{ {
@ -154,12 +163,22 @@
{ {
"fieldname": "tool_name", "fieldname": "tool_name",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Tool Name" "in_list_view": 1,
"in_standard_filter": 1,
"label": "Tool Name",
"reqd": 1
},
{
"depends_on": "eval:doc.aggregate_image;",
"fieldname": "aggregate_image_preview",
"fieldtype": "Image",
"label": "Aggregate Image Preview",
"options": "aggregate_image"
} }
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2023-10-04 12:06:21.324200", "modified": "2023-10-04 17:45:57.350572",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Phase-2", "module": "Phase-2",
"name": "Special Tool Information", "name": "Special Tool Information",

Loading…
Cancel
Save