2012-10-01 06:05:49 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-09-28 10:33:11 +00:00
|
|
|
import webnotes
|
|
|
|
from webnotes.model import delete_doc
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
# remove doctypes
|
|
|
|
for dt in ["Period", "Account Balance", "Multi Ledger Report",
|
|
|
|
"Multi Ledger Report Detail", "Period Control", "Reposting Tool",
|
|
|
|
"Lease Agreement", "Lease Installment"]:
|
|
|
|
delete_doc("DocType", dt)
|
|
|
|
|
|
|
|
# remove search criteria
|
|
|
|
delete_doc("Search Criteria", "Trial Balance")
|