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'; }