print hide packing list related flds

This commit is contained in:
Nabin Hait 2011-09-08 14:47:35 +05:30
parent d030b52394
commit 4303218771

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 354
last_patch = 355
#-------------------------------------------
@ -296,3 +296,5 @@ def execute(patch_no):
elif patch_no == 354:
reload_doc('stock', 'doctype', 'delivery_note')
reload_doc('stock', 'doctype', 'delivery_note_detail')
elif patch_no == 355:
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'")