reload PO-PR mapper
This commit is contained in:
parent
e2904d6afe
commit
95409cad78
@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 375
|
last_patch = 376
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@ -409,6 +409,8 @@ def execute(patch_no):
|
|||||||
from webnotes.session_cache import clear_cache
|
from webnotes.session_cache import clear_cache
|
||||||
clear_cache(webnotes.session['user'])
|
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")
|
comp = sql("select name from tabCompany where docstatus!=2")
|
||||||
fy = 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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user