From 6ea40a14cf68d8ff98202c5e6cb916fa0ffddc64 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 24 Nov 2011 13:17:53 +0530 Subject: [PATCH] Changed query for select form type so that it excludes types such as doctype, docfields etc.. --- py/core/doctype/doclayer/doclayer.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py/core/doctype/doclayer/doclayer.txt b/py/core/doctype/doclayer/doclayer.txt index 699b734b84..139a3a2463 100644 --- a/py/core/doctype/doclayer/doclayer.txt +++ b/py/core/doctype/doclayer/doclayer.txt @@ -5,14 +5,14 @@ { 'creation': '2011-11-16 16:09:34', 'docstatus': 0, - 'modified': '2011-11-23 18:01:26', + 'modified': '2011-11-24 12:59:42', 'modified_by': 'Administrator', 'owner': 'Administrator' }, # These values are common for all DocType { - '_last_update': '1322050979', + '_last_update': '1322119618', 'autoname': 'DL.####', 'colour': 'White:FFF', 'doctype': 'DocType', @@ -23,7 +23,7 @@ 'search_fields': 'doc_type', 'section_style': 'Simple', 'show_in_menu': 0, - 'version': 74 + 'version': 95 }, # These values are common for all DocField @@ -80,7 +80,7 @@ 'fieldname': 'doc_type', 'fieldtype': 'Select', 'label': 'Select Form Type', - 'options': 'Link:DocType', + 'options': 'Link:DocType\nmodule IN ("Accounts", "Buying", "HR", "Knowledge Base", "Production", "Projects", "Selling", "Stock", "Support")\nIFNULL(issingle, 0)=0\nIFNULL(in_create, 0)=0', 'permlevel': 0 },