From 6f51c2e4cc1e36fee2d271bfa3d0a539a3441e7e Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Tue, 10 Feb 2015 17:12:09 +0530 Subject: [PATCH] Image field and view added to all buying doctypes --- .../purchase_order_item.json | 35 ++++++++++++++++--- .../supplier_quotation_item.json | 35 ++++++++++++++++--- 2 files changed, 62 insertions(+), 8 deletions(-) diff --git a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json index 4b23c9f411..65bb7f4d39 100755 --- a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json +++ b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json @@ -44,6 +44,12 @@ "reqd": 1, "search_index": 1 }, + { + "fieldname": "column_break_4", + "fieldtype": "Column Break", + "permlevel": 0, + "precision": "" + }, { "fieldname": "schedule_date", "fieldtype": "Date", @@ -61,9 +67,10 @@ "search_index": 1 }, { - "fieldname": "col_break1", - "fieldtype": "Column Break", - "permlevel": 0 + "fieldname": "section_break_5", + "fieldtype": "Section Break", + "permlevel": 0, + "precision": "" }, { "fieldname": "description", @@ -78,6 +85,26 @@ "reqd": 1, "width": "300px" }, + { + "fieldname": "col_break1", + "fieldtype": "Column Break", + "permlevel": 0 + }, + { + "fieldname": "image", + "fieldtype": "Attach", + "label": "Image", + "permlevel": 0, + "precision": "" + }, + { + "fieldname": "image_view", + "fieldtype": "Image", + "label": "Image View", + "options": "image", + "permlevel": 0, + "precision": "" + }, { "fieldname": "quantity_and_rate", "fieldtype": "Section Break", @@ -455,7 +482,7 @@ ], "idx": 1, "istable": 1, - "modified": "2015-01-01 14:29:59.868306", + "modified": "2015-02-10 17:11:03.236900", "modified_by": "Administrator", "module": "Buying", "name": "Purchase Order Item", diff --git a/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json index 349e38ea2a..b42b2b678d 100644 --- a/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json +++ b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json @@ -29,6 +29,12 @@ "print_hide": 1, "read_only": 1 }, + { + "fieldname": "column_break_3", + "fieldtype": "Column Break", + "permlevel": 0, + "precision": "" + }, { "fieldname": "item_name", "fieldtype": "Data", @@ -45,9 +51,10 @@ "search_index": 1 }, { - "fieldname": "col_break1", - "fieldtype": "Column Break", - "permlevel": 0 + "fieldname": "section_break_5", + "fieldtype": "Section Break", + "permlevel": 0, + "precision": "" }, { "fieldname": "description", @@ -62,6 +69,26 @@ "reqd": 1, "width": "300px" }, + { + "fieldname": "col_break1", + "fieldtype": "Column Break", + "permlevel": 0 + }, + { + "fieldname": "image", + "fieldtype": "Attach", + "label": "Image", + "permlevel": 0, + "precision": "" + }, + { + "fieldname": "image_view", + "fieldtype": "Image", + "label": "Image View", + "options": "image", + "permlevel": 0, + "precision": "" + }, { "fieldname": "quantity_and_rate", "fieldtype": "Section Break", @@ -331,7 +358,7 @@ ], "idx": 1, "istable": 1, - "modified": "2015-01-01 14:29:59.198926", + "modified": "2015-02-10 17:08:37.920315", "modified_by": "Administrator", "module": "Buying", "name": "Supplier Quotation Item",