Edited erpnext/patches/patch.py via GitHub
This commit is contained in:
parent
989462b669
commit
c0d7434794
@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# 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...')
|
webnotes.conn.set_global('__session_status_message', 'Patch is running. please wait...')
|
||||||
elif patch_no == 390:
|
elif patch_no == 390:
|
||||||
comp = sql("select name from tabCompany where docstatus!=2")
|
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:
|
for c in comp:
|
||||||
prev_fy = ''
|
prev_fy = ''
|
||||||
for f in fy:
|
for f in fy:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user