Reload billing page patch

This commit is contained in:
Anand Doshi 2011-08-10 11:58:05 +05:30
parent d78b8b5337
commit b61abff9cd

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 335
last_patch = 336
#-------------------------------------------
@ -1354,4 +1354,6 @@ def execute(patch_no):
reload_doc('knowledge_base', 'doctype', 'answer')
elif patch_no == 335:
for dt in ['Account', 'Cost Center', 'Territory', 'Item Group', 'Customer Group']:
sql("update `tabDocField` set fieldtype = 'Link', options = %s where fieldname = 'old_parent' and parent = %s", (dt, dt))
sql("update `tabDocField` set fieldtype = 'Link', options = %s where fieldname = 'old_parent' and parent = %s", (dt, dt))
elif patch_no == 336:
reload_doc('server_tools','page','billing')