[patch] remove sales and purchase return tool

This commit is contained in:
Nabin Hait
2013-10-22 10:54:59 +05:30
parent 953d0a955f
commit 6a589be1c5
3 changed files with 13 additions and 2 deletions

View File

@@ -4,5 +4,7 @@
import webnotes
def execute():
webnotes.delete_doc("DocType", "Sales and Purchase Return Item")
webnotes.delete_doc("DocType", "Sales and Purchase Return Tool")
if webnotes.conn.exists("DocType", "Sales and Purchase Return Item"):
webnotes.delete_doc("DocType", "Sales and Purchase Return Item")
if webnotes.conn.exists("DocType", "Sales and Purchase Return Tool"):
webnotes.delete_doc("DocType", "Sales and Purchase Return Tool")