reload itemwise sales/purchase register: added new columns

This commit is contained in:
nabinhait 2011-06-20 14:07:04 +05:30
parent 255a2977f2
commit 4b59beace1

View File

@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
last_patch = 284
last_patch = 285
#-------------------------------------------
@ -1142,3 +1142,6 @@ def execute(patch_no):
elif patch_no == 284:
reload_doc('maintenance', 'doctype', 'support_ticket')
sql("update `tabDocField` set in_filter = 1 where fieldname in ('raised_by', 'subject') and parent = 'Support Ticket'")
elif patch_no == 285:
reload_doc('accounts', 'search_criteria', 'itemwise_sales_register')
reload_doc('accounts', 'search_criteria', 'itemwise_purchase_register')