From 4b59beace10fc6d6d8cd041797b08395ef22bb73 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Mon, 20 Jun 2011 14:07:04 +0530 Subject: [PATCH] reload itemwise sales/purchase register: added new columns --- patches/patch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index 7a243eca47..b902f2074e 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 @@ 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')