From 68b8a90ee04f6440b15e254bb6ad99eb90eae66d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 5 Oct 2012 14:47:46 +0530 Subject: [PATCH] removed old triaL balance report --- patches/october_2012/remove_old_trial_bal.py | 6 ++++++ patches/patch_list.py | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 patches/october_2012/remove_old_trial_bal.py diff --git a/patches/october_2012/remove_old_trial_bal.py b/patches/october_2012/remove_old_trial_bal.py new file mode 100644 index 00000000000..f3015252b96 --- /dev/null +++ b/patches/october_2012/remove_old_trial_bal.py @@ -0,0 +1,6 @@ +from __future__ import unicode_literals +from webnotes.model import delete_doc + +def execute(): + # remove search criteria + delete_doc("Search Criteria", "trial_balance") diff --git a/patches/patch_list.py b/patches/patch_list.py index fc2582a4f4c..98842cc2abe 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -627,4 +627,8 @@ patch_list = [ 'patch_module': 'patches.october_2012', 'patch_file': 'update_account_property', }, + { + 'patch_module': 'patches.october_2012', + 'patch_file': 'remove_old_trial_bal', + }, ]