Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/hr/doctype/salary_manager/salary_manager.py b/hr/doctype/salary_manager/salary_manager.py
index d8f1288..45b78a6 100644
--- a/hr/doctype/salary_manager/salary_manager.py
+++ b/hr/doctype/salary_manager/salary_manager.py
@@ -48,7 +48,7 @@
 			from `tabEmployee` t1, `tabSalary Structure` t2 
 			where t1.docstatus!=2 and t2.docstatus != 2 
 			and t1.name = t2.employee
-		%s """% cond, debug=1)
+		%s """% cond)
 
 		return emp_list
 		
diff --git a/patches/november_2012/support_ticket_response_to_communication.py b/patches/november_2012/support_ticket_response_to_communication.py
index 6534bb1..12c1850 100644
--- a/patches/november_2012/support_ticket_response_to_communication.py
+++ b/patches/november_2012/support_ticket_response_to_communication.py
@@ -2,6 +2,7 @@
 import email.utils
 
 def execute():
+	webnotes.reload_doc("core", "doctype", "communication")
 	webnotes.conn.commit()
 	for d in webnotes.conn.sql("""select owner, creation, modified, modified_by, parent, 
 		from_email, mail from `tabSupport Ticket Response`""", as_dict=1):