Merge pull request #86 from nabinhait/master

packing list patch
This commit is contained in:
Nabin Hait 2011-09-09 00:35:32 -07:00
commit 3b57a52a7d

View File

@ -1,7 +1,7 @@
# REMEMBER to update this # REMEMBER to update this
# ======================== # ========================
last_patch = 359 last_patch = 360
#------------------------------------------- #-------------------------------------------
@ -315,3 +315,5 @@ def execute(patch_no):
reload_doc('stock', 'doctype', 'delivery_note_detail') reload_doc('stock', 'doctype', 'delivery_note_detail')
elif patch_no == 359: elif patch_no == 359:
sql("update `tabDocField` set print_hide =1 where fieldname in ('pack_no', 'pack_gross_wt', 'weight_uom', 'pack_nett_wt') and parent = 'Delivery Note Detail'") sql("update `tabDocField` set print_hide =1 where fieldname in ('pack_no', 'pack_gross_wt', 'weight_uom', 'pack_nett_wt') and parent = 'Delivery Note Detail'")
elif patch_no == 360:
sql("update `tabDocField` set print_hide =1 where fieldname = 'print_packing_slip' and parent = 'Delivery Note'")