brotherton-erpnext/patches/october_2012/remove_old_trial_bal.py

7 lines
168 B
Python
Raw Normal View History

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