From a93ba77918b4469e07bb3eeaf8f482710232158c Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 17 Dec 2012 16:02:04 +0530 Subject: [PATCH] added item specification, bugfix for form grid --- stock/doctype/item/item.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stock/doctype/item/item.txt b/stock/doctype/item/item.txt index 7ab40bd0bc6..ce54443c358 100644 --- a/stock/doctype/item/item.txt +++ b/stock/doctype/item/item.txt @@ -4,7 +4,7 @@ "docstatus": 0, "creation": "2012-12-17 14:56:32", "modified_by": "Administrator", - "modified": "2012-12-17 15:59:19" + "modified": "2012-12-17 16:02:00" }, { "allow_attach": 1, @@ -787,7 +787,8 @@ "permlevel": 0 }, { - "default": "Show Price in Website (if set)", + "description": "Show Price in Website (if set)", + "depends_on": "show_in_website", "doctype": "DocField", "label": "Website Price List", "options": "Price List", @@ -797,6 +798,7 @@ }, { "description": "Show \"In Stock\" or \"Not in Stock\" based on stock available in this warehouse.", + "depends_on": "show_in_website", "doctype": "DocField", "label": "Website Warehouse", "options": "Warehouse", @@ -805,12 +807,14 @@ "permlevel": 0 }, { + "depends_on": "show_in_website", "doctype": "DocField", "fieldname": "sb72", "fieldtype": "Section Break", "permlevel": 0 }, { + "depends_on": "show_in_website", "doctype": "DocField", "label": "Item Website Specifications", "options": "Item Website Specification",