From 0793600ea7ab2e327ff6bc8ba8d42e46f3314612 Mon Sep 17 00:00:00 2001 From: Ravi Dey Date: Fri, 24 Jun 2011 15:30:27 +0530 Subject: [PATCH] reload_doc support ticket --- patches/patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index b8f5b036e54..7de1cb0b293 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,6 +1,6 @@ # REMEMBER to update this # ======================== -last_patch = 295 +last_patch = 296 #------------------------------------------- @@ -1176,3 +1176,5 @@ def execute(patch_no): elif patch_no == 295: sql("update `tabDocField` set options = 'Delivered\nNot Delivered\nPartly Delivered\nClosed\nNot Applicable' where parent = 'Sales Order' and fieldname = 'delivery_status'") sql("update `tabDocField` set options = 'Billed\nNot Billed\nPartly Billed\nClosed' where parent = 'Sales Order' and fieldname = 'billing_status'") + elif patch_no == 296: + reload_doc('maintenance', 'doctype', 'support_ticket')