Browse Source

missing json data files vechile and variant

master
hns 3 years ago
parent
commit
43d0524a19
  1. 2
      .gitignore
  2. 2
      smart_service/masters/doctype/drive/drive.json
  3. 79
      smart_service/masters/doctype/variant/variant.json
  4. 18
      smart_service/masters/doctype/vehicle/vehicle.json
  5. 1
      smart_service/transactions/doctype/procedure/procedure.js
  6. 4
      smart_service/transactions/doctype/procedure/procedure.json
  7. 4
      smart_service/transactions/doctype/procedure_details/procedure_details.json

2
.gitignore

@ -0,0 +1,2 @@
*.pyc
__pycache__/

2
smart_service/masters/doctype/drive/drive.json

@ -42,7 +42,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-02-11 12:34:30.847569",
"modified": "2022-02-18 11:48:00.194884",
"modified_by": "Administrator",
"module": "Masters",
"name": "Drive",

79
smart_service/masters/doctype/variant/variant.json

@ -1,47 +1,106 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "format:{vehicle}.{variant}",
"creation": "2022-02-13 05:17:10.978251",
"creation": "2021-10-28 12:45:38.664344",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"vehicle",
"vehicle_id",
"variant",
"fuel_type"
"active_status",
"column_break_4",
"vehicle_segment",
"vehicle_segment_id",
"variant_image",
"preview",
"myid"
],
"fields": [
{
"allow_in_quick_entry": 1,
"fieldname": "vehicle",
"fieldtype": "Link",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Vehicle",
"options": "Vehicle",
"reqd": 1
},
{
"allow_in_quick_entry": 1,
"fieldname": "variant",
"fieldtype": "Data",
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Variant",
"reqd": 1
},
{
"default": "Petrol",
"fieldname": "fuel_type",
"fieldtype": "Link",
"fetch_from": "vehicle.myid",
"fieldname": "vehicle_id",
"fieldtype": "Int",
"hidden": 1,
"label": "Vehicle ID",
"read_only": 1
},
{
"fieldname": "active_status",
"fieldtype": "Select",
"hidden": 1,
"label": "Active Status",
"options": "Active\nInactive"
},
{
"fieldname": "column_break_4",
"fieldtype": "Column Break"
},
{
"fetch_from": "vehicle.vehicle_segment",
"fieldname": "vehicle_segment",
"fieldtype": "Data",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Fuel Type",
"options": "Fuel",
"reqd": 1
"label": "Vehicle Segment",
"read_only": 1
},
{
"fetch_from": "vehicle.vehicle_segment_id",
"fieldname": "vehicle_segment_id",
"fieldtype": "Data",
"hidden": 1,
"label": "Vehicle Segment ID",
"read_only": 1
},
{
"fieldname": "variant_image",
"fieldtype": "Attach Image",
"label": "Variant Image"
},
{
"fieldname": "preview",
"fieldtype": "Image",
"label": "Preview",
"options": "variant_image"
},
{
"fieldname": "myid",
"fieldtype": "Int",
"hidden": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "myID",
"set_only_once": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-02-13 05:23:24.294205",
"modified": "2022-02-18 11:44:36.707430",
"modified_by": "Administrator",
"module": "Masters",
"name": "Variant",
@ -60,7 +119,7 @@
"write": 1
}
],
"search_fields": "vehicle,variant",
"search_fields": "variant,vehicle,vehicle_segment,active_status",
"sort_field": "modified",
"sort_order": "DESC",
"title_field": "variant",

18
smart_service/masters/doctype/vehicle/vehicle.json

@ -39,6 +39,14 @@
"options": "Active\nInactive",
"reqd": 1
},
{
"fieldname": "display_order",
"fieldtype": "Int",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Display Order",
"reqd": 1
},
{
"allow_in_quick_entry": 1,
"fieldname": "vehicle",
@ -85,14 +93,6 @@
"label": "myID",
"set_only_once": 1
},
{
"fieldname": "display_order",
"fieldtype": "Int",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Display Order",
"reqd": 1
},
{
"fieldname": "service_kilometers",
"fieldtype": "Table MultiSelect",
@ -118,7 +118,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-02-17 12:33:38.665289",
"modified": "2022-02-18 11:47:20.522687",
"modified_by": "Administrator",
"module": "Masters",
"name": "Vehicle",

1
smart_service/transactions/doctype/procedure/procedure.js

@ -5,3 +5,4 @@ frappe.ui.form.on('Procedure', {
//refresh: function(frm) {
// }
});

4
smart_service/transactions/doctype/procedure/procedure.json

@ -201,18 +201,20 @@
"collapsible": 1,
"fieldname": "html_reference_section",
"fieldtype": "Section Break",
"hidden": 1,
"label": "HTML Reference"
},
{
"fieldname": "procedure_html_ref",
"fieldtype": "Table",
"hidden": 1,
"label": "Procedure HTML Ref",
"options": "Procedure HTML Ref"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-02-15 10:06:23.193783",
"modified": "2022-02-18 11:49:34.257934",
"modified_by": "Administrator",
"module": "Transactions",
"name": "Procedure",

4
smart_service/transactions/doctype/procedure_details/procedure_details.json

@ -44,7 +44,7 @@
{
"columns": 4,
"fieldname": "content",
"fieldtype": "Small Text",
"fieldtype": "Text Editor",
"in_list_view": 1,
"label": "Content",
"read_only_depends_on": "eval:doc.content_type == \"Link\""
@ -74,7 +74,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2022-02-17 16:16:20.035083",
"modified": "2022-02-18 11:20:32.565428",
"modified_by": "Administrator",
"module": "Transactions",
"name": "Procedure_Details",

Loading…
Cancel
Save