From c0d74347946d44737c467bb702b5445a236d3169 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 14 Oct 2011 00:14:31 +0530 Subject: [PATCH] Edited erpnext/patches/patch.py via GitHub --- erpnext/patches/patch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches/patch.py b/erpnext/patches/patch.py index 483daffbc5..489f8e25c2 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 @@ def execute(patch_no): 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: