set no_copy for flds status, file_list, naming_series, amended_from and amendment_date

This commit is contained in:
Nabin Hait 2011-09-13 13:36:40 +05:30
parent 4b66a1fa71
commit 5156570fd4

View File

@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 361
last_patch = 362
#-------------------------------------------
@ -319,3 +319,5 @@ def execute(patch_no):
sql("update `tabDocField` set print_hide =1 where fieldname = 'print_packing_slip' and parent = 'Delivery Note'")
elif patch_no == 361:
sql("update `tabModule Def Item` set doc_name = 'GL Entry' where display_name in ('Lease Agreement List', 'Lease Monthly Future Installment Inflows', 'Lease Overdue Age Wise', 'Lease Overdue List', 'Lease Receipts Client Wise', 'Lease Receipt Summary Month Wise', 'Lease Yearly Future Installment Inflows') and parent = 'Accounts'")
elif patch_no == 362:
sql("update `tabDocField` set no_copy = 1 where fieldname in ('amended_from', 'amendment_date', 'file_list', 'naming_series', 'status')")