fixes in patch
diff --git a/patches/february_2013/update_company_in_leave_application.py b/patches/february_2013/update_company_in_leave_application.py
index 098c7e3..eaf03b6 100644
--- a/patches/february_2013/update_company_in_leave_application.py
+++ b/patches/february_2013/update_company_in_leave_application.py
@@ -1,5 +1,7 @@
 def execute():
 	import webnotes
+	webnotes.reload_doc("hr", "doctype", "leave_application")
+	
 	webnotes.conn.sql("""update `tabLeave Application`, `tabEmployee` set
 		`tabLeave Application`.company = `tabEmployee`.company where
 		`tabLeave Application`.employee = `tabEmployee`.name""")