deleted duplicate button from QA inspection report
diff --git a/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt b/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt
index 10890dc..de88e16 100644
--- a/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt
+++ b/erpnext/buying/doctype/qa_inspection_report/qa_inspection_report.txt
@@ -5,14 +5,17 @@
 	{
 		'creation': '2010-08-08 17:09:17',
 		'docstatus': 0,
-		'modified': '2011-04-08 10:53:33',
+		'modified': '2011-10-06 10:22:41',
 		'modified_by': 'Administrator',
 		'owner': 'Administrator'
 	},
 
 	# These values are common for all DocType
 	{
+		'_last_update': '1317365120',
+		'autoname': 'QAI/.######',
 		'colour': 'White:FFF',
+		'default_print_format': 'Standard',
 		'doctype': 'DocType',
 		'module': 'Buying',
 		'name': '__common__',
@@ -21,7 +24,7 @@
 		'section_style': 'Simple',
 		'server_code_error': ' ',
 		'show_in_menu': 0,
-		'version': 37
+		'version': 38
 	},
 
 	# These values are common for all DocField
@@ -56,7 +59,6 @@
 		'cancel': 1,
 		'create': 1,
 		'doctype': 'DocPerm',
-		'idx': 1,
 		'permlevel': 0,
 		'submit': 1,
 		'write': 1
@@ -65,7 +67,6 @@
 	# DocPerm
 	{
 		'doctype': 'DocPerm',
-		'idx': 2,
 		'permlevel': 1
 	},
 
@@ -73,7 +74,6 @@
 	{
 		'doctype': 'DocField',
 		'fieldtype': 'Section Break',
-		'idx': 1,
 		'label': 'QA Inspection',
 		'no_copy': 0,
 		'oldfieldtype': 'Section Break',
@@ -84,7 +84,6 @@
 	{
 		'doctype': 'DocField',
 		'fieldtype': 'Column Break',
-		'idx': 2,
 		'oldfieldtype': 'Column Break',
 		'permlevel': 0,
 		'width': '50%'
@@ -95,7 +94,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'naming_series',
 		'fieldtype': 'Select',
-		'idx': 3,
 		'label': 'Naming Series',
 		'no_copy': 1,
 		'options': '\nQAI/11-12/',
@@ -109,7 +107,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'inspection_type',
 		'fieldtype': 'Select',
-		'idx': 4,
 		'in_filter': 1,
 		'label': 'Inspection Type',
 		'oldfieldname': 'inspection_type',
@@ -125,7 +122,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'report_date',
 		'fieldtype': 'Date',
-		'idx': 5,
 		'in_filter': 1,
 		'label': 'Report Date',
 		'oldfieldname': 'report_date',
@@ -142,7 +138,6 @@
 		'fieldname': 'item_code',
 		'fieldtype': 'Link',
 		'hidden': 0,
-		'idx': 6,
 		'in_filter': 1,
 		'label': 'Item Code',
 		'oldfieldname': 'item_code',
@@ -159,7 +154,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'sample_size',
 		'fieldtype': 'Currency',
-		'idx': 7,
 		'in_filter': 0,
 		'label': 'Sample Size',
 		'oldfieldname': 'sample_size',
@@ -174,7 +168,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'description',
 		'fieldtype': 'Small Text',
-		'idx': 8,
 		'in_filter': 1,
 		'label': 'Description',
 		'oldfieldname': 'description',
@@ -188,7 +181,6 @@
 	{
 		'doctype': 'DocField',
 		'fieldtype': 'Column Break',
-		'idx': 9,
 		'oldfieldtype': 'Column Break',
 		'permlevel': 0,
 		'width': '50%'
@@ -200,14 +192,12 @@
 		'fieldname': 'item_serial_no',
 		'fieldtype': 'Link',
 		'hidden': 0,
-		'idx': 10,
 		'label': 'Item Serial No',
 		'oldfieldname': 'item_serial_no',
 		'oldfieldtype': 'Link',
 		'options': 'Serial No',
 		'permlevel': 0,
-		'print_hide': 0,
-		'search_index': 0
+		'print_hide': 0
 	},
 
 	# DocField
@@ -215,13 +205,11 @@
 		'doctype': 'DocField',
 		'fieldname': 'batch_no',
 		'fieldtype': 'Link',
-		'idx': 11,
 		'label': 'Batch No',
 		'oldfieldname': 'batch_no',
 		'oldfieldtype': 'Link',
 		'options': 'Batch',
-		'permlevel': 0,
-		'search_index': 0
+		'permlevel': 0
 	},
 
 	# DocField
@@ -231,7 +219,6 @@
 		'fieldname': 'purchase_receipt_no',
 		'fieldtype': 'Link',
 		'hidden': 0,
-		'idx': 12,
 		'in_filter': 1,
 		'label': 'Purchase Receipt No',
 		'oldfieldname': 'purchase_receipt_no',
@@ -249,7 +236,6 @@
 		'fieldname': 'delivery_note_no',
 		'fieldtype': 'Link',
 		'hidden': 0,
-		'idx': 13,
 		'in_filter': 1,
 		'label': 'Delivery Note No',
 		'oldfieldname': 'delivery_note_no',
@@ -257,7 +243,7 @@
 		'options': 'Delivery Note',
 		'permlevel': 0,
 		'print_hide': 0,
-		'search_index': 0
+		'search_index': 1
 	},
 
 	# DocField
@@ -265,7 +251,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'inspected_by',
 		'fieldtype': 'Data',
-		'idx': 14,
 		'label': 'Inspected By',
 		'oldfieldname': 'inspected_by',
 		'oldfieldtype': 'Data',
@@ -278,7 +263,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'remarks',
 		'fieldtype': 'Text',
-		'idx': 15,
 		'label': 'Remarks',
 		'no_copy': 1,
 		'oldfieldname': 'remarks',
@@ -291,7 +275,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'verified_by',
 		'fieldtype': 'Data',
-		'idx': 16,
 		'label': 'Verified By',
 		'oldfieldname': 'verified_by',
 		'oldfieldtype': 'Data',
@@ -303,8 +286,8 @@
 		'doctype': 'DocField',
 		'fieldname': 'amended_from',
 		'fieldtype': 'Data',
-		'idx': 17,
 		'label': 'Amended From',
+		'no_copy': 1,
 		'oldfieldname': 'amended_from',
 		'oldfieldtype': 'Data',
 		'permlevel': 1,
@@ -316,8 +299,8 @@
 		'doctype': 'DocField',
 		'fieldname': 'amendment_date',
 		'fieldtype': 'Date',
-		'idx': 18,
 		'label': 'Amendment Date',
+		'no_copy': 1,
 		'oldfieldname': 'amendment_date',
 		'oldfieldtype': 'Date',
 		'permlevel': 1,
@@ -328,7 +311,6 @@
 	{
 		'doctype': 'DocField',
 		'fieldtype': 'Section Break',
-		'idx': 19,
 		'label': 'Specification Details',
 		'oldfieldtype': 'Section Break',
 		'options': 'Simple',
@@ -339,9 +321,7 @@
 	{
 		'doctype': 'DocField',
 		'fieldtype': 'Button',
-		'idx': 20,
 		'label': 'Get Specification Details',
-		'oldfieldtype': 'Button',
 		'options': 'get_item_specification_details',
 		'permlevel': 0
 	},
@@ -351,7 +331,6 @@
 		'doctype': 'DocField',
 		'fieldname': 'qa_specification_details',
 		'fieldtype': 'Table',
-		'idx': 21,
 		'label': 'QA Specification Details',
 		'oldfieldname': 'qa_specification_details',
 		'oldfieldtype': 'Table',