image feild made hidden
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 65bb7f4..0df7c8b 100755
--- a/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json
+++ b/erpnext/buying/doctype/purchase_order_item/purchase_order_item.json
@@ -93,9 +93,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -482,7 +484,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 17:11:03.236900",
+ "modified": "2015-02-12 15:11:13.784588",
"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 b42b2b6..08d5871 100644
--- a/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json
+++ b/erpnext/buying/doctype/supplier_quotation_item/supplier_quotation_item.json
@@ -77,9 +77,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -358,7 +360,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 17:08:37.920315",
+ "modified": "2015-02-12 15:16:13.616428",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier Quotation Item",
diff --git a/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.json b/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.json
index aa5294c..59ef647 100644
--- a/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.json
+++ b/erpnext/manufacturing/doctype/bom_explosion_item/bom_explosion_item.json
@@ -58,9 +58,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -138,7 +140,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-12 12:23:57.127210",
+ "modified": "2015-02-12 15:16:56.092124",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "BOM Explosion Item",
diff --git a/erpnext/manufacturing/doctype/bom_item/bom_item.json b/erpnext/manufacturing/doctype/bom_item/bom_item.json
index 2459b8e..4870241 100644
--- a/erpnext/manufacturing/doctype/bom_item/bom_item.json
+++ b/erpnext/manufacturing/doctype/bom_item/bom_item.json
@@ -70,9 +70,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -161,7 +163,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-12 10:41:31.336921",
+ "modified": "2015-02-12 15:17:18.324810",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "BOM Item",
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index 6ea16db..8156c02 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -117,3 +117,4 @@
erpnext.patches.v5_0.rename_customer_issue
erpnext.patches.v5_0.update_material_transfer_for_manufacture
erpnext.patches.v5_0.manufacturing_activity_type
+erpnext.patches.v5_0.update_item_desc_and_image
diff --git a/erpnext/patches/v5_0/update_item_desc_and_image.py b/erpnext/patches/v5_0/update_item_desc_and_image.py
new file mode 100644
index 0000000..4e03f59
--- /dev/null
+++ b/erpnext/patches/v5_0/update_item_desc_and_image.py
@@ -0,0 +1,7 @@
+# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
+# License: GNU General Public License v3. See license.txt
+
+import frappe
+
+def execute():
+ pass
\ No newline at end of file
diff --git a/erpnext/selling/doctype/opportunity_item/opportunity_item.json b/erpnext/selling/doctype/opportunity_item/opportunity_item.json
index d81b1b7..e9342dc 100644
--- a/erpnext/selling/doctype/opportunity_item/opportunity_item.json
+++ b/erpnext/selling/doctype/opportunity_item/opportunity_item.json
@@ -83,11 +83,12 @@
{
"fieldname": "image",
"fieldtype": "Attach",
- "hidden": 0,
+ "hidden": 1,
"label": "Image",
"options": "",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -144,7 +145,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 13:03:39.188558",
+ "modified": "2015-02-12 15:18:08.997193",
"modified_by": "Administrator",
"module": "Selling",
"name": "Opportunity Item",
diff --git a/erpnext/selling/doctype/quotation_item/quotation_item.json b/erpnext/selling/doctype/quotation_item/quotation_item.json
index a1031a3..401842e 100644
--- a/erpnext/selling/doctype/quotation_item/quotation_item.json
+++ b/erpnext/selling/doctype/quotation_item/quotation_item.json
@@ -69,9 +69,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -347,7 +349,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 15:21:17.447331",
+ "modified": "2015-02-12 15:18:41.236797",
"modified_by": "Administrator",
"module": "Selling",
"name": "Quotation Item",
diff --git a/erpnext/selling/doctype/sales_order_item/sales_order_item.json b/erpnext/selling/doctype/sales_order_item/sales_order_item.json
index 4d676ef..0a71c18 100644
--- a/erpnext/selling/doctype/sales_order_item/sales_order_item.json
+++ b/erpnext/selling/doctype/sales_order_item/sales_order_item.json
@@ -78,9 +78,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
diff --git a/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json
index 0ac66ac..c67c577 100644
--- a/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json
+++ b/erpnext/stock/doctype/delivery_note_item/delivery_note_item.json
@@ -84,9 +84,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -465,7 +467,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-12 10:34:45.460334",
+ "modified": "2015-02-12 15:19:29.701710",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note Item",
diff --git a/erpnext/stock/doctype/material_request_item/material_request_item.json b/erpnext/stock/doctype/material_request_item/material_request_item.json
index e5b7b69..f6f8831 100644
--- a/erpnext/stock/doctype/material_request_item/material_request_item.json
+++ b/erpnext/stock/doctype/material_request_item/material_request_item.json
@@ -66,9 +66,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -262,7 +264,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 16:14:59.940476",
+ "modified": "2015-02-12 15:20:02.832792",
"modified_by": "Administrator",
"module": "Stock",
"name": "Material Request Item",
diff --git a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json
index 984732e..816b0b7 100755
--- a/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json
+++ b/erpnext/stock/doctype/purchase_receipt_item/purchase_receipt_item.json
@@ -67,9 +67,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -586,7 +588,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-12 10:37:31.933726",
+ "modified": "2015-02-12 15:20:26.299671",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt Item",
diff --git a/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.json b/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.json
index 98b5038..dda2580 100644
--- a/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.json
+++ b/erpnext/stock/doctype/stock_entry_detail/stock_entry_detail.json
@@ -94,9 +94,11 @@
{
"fieldname": "image",
"fieldtype": "Attach",
+ "hidden": 1,
"label": "Image",
"permlevel": 0,
- "precision": ""
+ "precision": "",
+ "print_hide": 1
},
{
"fieldname": "image_view",
@@ -329,7 +331,7 @@
],
"idx": 1,
"istable": 1,
- "modified": "2015-02-10 16:18:48.313676",
+ "modified": "2015-02-12 15:20:56.815434",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Entry Detail",