brotherton-erpnext/patches/october_2012/remove_old_trial_bal.py

7 lines
168 B
Python
Raw Normal View History

2012-10-05 14:47:46 +05:30
from __future__ import unicode_literals
from webnotes.model import delete_doc
def execute():
# remove search criteria
delete_doc("Search Criteria", "trial_balance")