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', + }, ]