Project query fixed
diff --git a/erpnext/controllers/queries.py b/erpnext/controllers/queries.py
index 4a30eed..d555532 100644
--- a/erpnext/controllers/queries.py
+++ b/erpnext/controllers/queries.py
@@ -200,7 +200,7 @@
 
 def get_project_name(doctype, txt, searchfield, start, page_len, filters):
 	cond = ''
-	if filters['customer']:
+	if filters.get('customer'):
 		cond = '(`tabProject`.customer = "' + filters['customer'] + '" or ifnull(`tabProject`.customer,"")="") and'
 
 	return frappe.db.sql("""select `tabProject`.name from `tabProject`