From eb4f9f3bf14a15832bc5791fb2cbb1f4491d7c3f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 27 Feb 2013 11:40:30 +0530 Subject: [PATCH] Custom Field: Allow Item Group and other not in create doctypes --- core/doctype/custom_field/custom_field.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/doctype/custom_field/custom_field.js b/core/doctype/custom_field/custom_field.js index 73e3163bda..e122339fcb 100644 --- a/core/doctype/custom_field/custom_field.js +++ b/core/doctype/custom_field/custom_field.js @@ -57,7 +57,6 @@ cur_frm.cscript.label = function(doc){ cur_frm.fields_dict['dt'].get_query = function(doc, dt, dn) { return 'SELECT name FROM `tabDocType` \ WHERE IFNULL(issingle,0)=0 AND \ - IFNULL(in_create, 0)=0 AND \ module != "Core" AND \ name LIKE "%s%%" ORDER BY name ASC LIMIT 50'; }