Edited erpnext/patches/patch.py via GitHub
diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py
index 483daff..489f8e2 100644
--- a/erpnext/patches/patch.py
+++ b/erpnext/patches/patch.py
@@ -1,7 +1,7 @@
 # REMEMBER to update this
 # ========================
 
-last_patch = 391
+last_patch = 388
 
 #-------------------------------------------
 
@@ -468,7 +468,7 @@
 		webnotes.conn.set_global('__session_status_message', 'Patch is running. please wait...')
 	elif patch_no == 390:		
 		comp = sql("select name from tabCompany where docstatus!=2")
-		fy = [['2011-2012']]#sql("select name from `tabFiscal Year` order by year_start_date asc")
+		fy = sql("select name from `tabFiscal Year` order by year_start_date asc")
 		for c in comp:
 			prev_fy = ''
 			for f in fy: