From dd2f2f53219884bf14677f1bf5d2a6d628b8e498 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 23 Sep 2015 17:06:01 +0530 Subject: [PATCH] [fix] minor, remove operation naming field from operation --- .../doctype/operation/operation.json | 49 ++----------------- .../doctype/operation/test_records.json | 2 +- 2 files changed, 4 insertions(+), 47 deletions(-) diff --git a/erpnext/manufacturing/doctype/operation/operation.json b/erpnext/manufacturing/doctype/operation/operation.json index 45b2b6b779..4145e46d15 100644 --- a/erpnext/manufacturing/doctype/operation/operation.json +++ b/erpnext/manufacturing/doctype/operation/operation.json @@ -2,56 +2,13 @@ "allow_copy": 0, "allow_import": 1, "allow_rename": 1, - "autoname": "field:operation", + "autoname": "Prompt", "creation": "2014-11-07 16:20:30.683186", "custom": 0, "docstatus": 0, "doctype": "DocType", "document_type": "Setup", "fields": [ - { - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "fieldname": "operation", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 1, - "label": "Operation", - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "bold": 0, - "collapsible": 0, - "fieldname": "column_break_2", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, { "allow_on_submit": 0, "bold": 0, @@ -61,7 +18,7 @@ "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, - "in_list_view": 0, + "in_list_view": 1, "label": "Default Workstation", "no_copy": 0, "options": "Workstation", @@ -127,7 +84,7 @@ "is_submittable": 0, "issingle": 0, "istable": 0, - "modified": "2015-09-14 02:55:58.575636", + "modified": "2015-09-23 07:32:29.550198", "modified_by": "Administrator", "module": "Manufacturing", "name": "Operation", diff --git a/erpnext/manufacturing/doctype/operation/test_records.json b/erpnext/manufacturing/doctype/operation/test_records.json index 56da6d33d5..5a24d44065 100644 --- a/erpnext/manufacturing/doctype/operation/test_records.json +++ b/erpnext/manufacturing/doctype/operation/test_records.json @@ -1,7 +1,7 @@ [ { "doctype": "Operation", - "operation": "_Test Operation 1", + "name": "_Test Operation 1", "workstation": "_Test Workstation 1" } ]