reload itemwise sales/purchase register: added new columns
diff --git a/patches/patch.py b/patches/patch.py
index 7a243ec..b902f20 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
-last_patch = 284
+last_patch = 285
#-------------------------------------------
@@ -1142,3 +1142,6 @@
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')