From 3e967ab9b6ff26ddb89cebb546e5f28daae35d3a Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 19 Mar 2013 16:22:22 +0530 Subject: [PATCH] hide Reference section break when using Sales or Purchase Return --- stock/doctype/stock_entry/stock_entry.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stock/doctype/stock_entry/stock_entry.txt b/stock/doctype/stock_entry/stock_entry.txt index 4509f3ddabc..ecbd9c6b724 100644 --- a/stock/doctype/stock_entry/stock_entry.txt +++ b/stock/doctype/stock_entry/stock_entry.txt @@ -2,7 +2,7 @@ { "creation": "2013-03-11 12:34:40", "docstatus": 0, - "modified": "2013-03-19 15:13:07", + "modified": "2013-03-19 15:33:14", "modified_by": "Administrator", "owner": "Administrator" }, @@ -271,6 +271,7 @@ "print_hide": 1 }, { + "depends_on": "eval:doc.purpose!==\"Sales Return\" || doc.purpose!===\"Purchase Return\"", "doctype": "DocField", "fieldname": "sb1", "fieldtype": "Section Break",