From e0410da97f907626ddb3a5074313d6af50c117b0 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 29 Aug 2011 14:24:19 +0530 Subject: [PATCH] deleted default custom script and moved them to py file --- patches/patch.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/patch.py b/patches/patch.py index 9417ea2d74f..e7da740837f 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -260,3 +260,12 @@ def execute(patch_no): sql("delete from `tabField Mapper Detail` where from_field = to_field and map = 'Yes' and ifnull(checking_operator, '') = ''") elif patch_no == 348: sql("update `tabStock Ledger Entry` set is_cancelled = 'No' where voucher_type = 'Serial No'") + elif patch_no == 349: + delete_doc('Custom Script', 'Update Series-Server') + delete_doc('Custom Script', 'Profile-Client') + delete_doc('Custom Script', 'Event-Client') + delete_doc('Custom Script', 'File-Server') + + reload_doc('core', 'doctype', 'event') + reload_doc('setup', 'doctype', 'update_series') + reload_doc('core', 'doctype', 'file')