reload PO-PR mapper

This commit is contained in:
Nabin Hait 2011-10-07 12:36:43 +05:30
parent e2904d6afe
commit 95409cad78

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 375
last_patch = 376
#-------------------------------------------
@ -408,7 +408,9 @@ def execute(patch_no):
elif patch_no == 375:
from webnotes.session_cache import clear_cache
clear_cache(webnotes.session['user'])
elif patch_no == 376:
elif patch_no == 376:
reload_doc('stock', 'DocType Mapper', 'Purchase Order-Purchase Receipt')
elif patch_no == 377:
comp = sql("select name from tabCompany where docstatus!=2")
fy = sql("select name from `tabFiscal Year` order by year_start_date asc")
for c in comp: