[cleanup] purchase common

This commit is contained in:
Nabin Hait
2013-10-18 17:00:53 +05:30
parent 0bc5ae55d8
commit 5566bcaa0e
11 changed files with 15 additions and 42 deletions

View File

@@ -14,7 +14,8 @@ def execute():
webnotes.reload_doc("stock", "doctype", "packed_item")
os.system("rm -rf app/stock/doctype/delivery_note_packing_item")
if os.path.exists("app/stock/doctype/delivery_note_packing_item"):
os.system("rm -rf app/stock/doctype/delivery_note_packing_item")
if webnotes.conn.exists("DocType", "Delivery Note Packing Item"):
webnotes.delete_doc("DocType", "Delivery Note Packing Item")