reload delivery note detail and item coustomer details

This commit is contained in:
Nabin Hait 2011-08-30 17:40:48 +05:30
parent d8cae39a8b
commit f4bbbc7052

View File

@ -1,7 +1,7 @@
# REMEMBER to update this # REMEMBER to update this
# ======================== # ========================
last_patch = 343 last_patch = 344
#------------------------------------------- #-------------------------------------------
@ -1425,3 +1425,6 @@ def execute(patch_no):
sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry Detail' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')") sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry Detail' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')")
elif patch_no == 343: elif patch_no == 343:
sql("delete from `tabDocFormat` where ifnull(format, '') = '' and parent = 'Delivery Note'") sql("delete from `tabDocFormat` where ifnull(format, '') = '' and parent = 'Delivery Note'")
elif patch_no == 344:
reload_doc('stock', 'doctype', 'delivery_note_detail')
reload_doc('stock', 'doctype', 'item_customer_detail')