[patches] [fix] fixed an old patch

This commit is contained in:
Anand Doshi 2013-05-16 15:57:45 +05:30
parent 6e0e1c8fcc
commit cae99dbf71

View File

@ -23,3 +23,7 @@ def execute():
os.system("rm -rf app/hr/doctype/holiday_block_list_allow")
os.system("rm -rf app/hr/doctype/holiday_block_list_date")
for dt in ("Purchase Request", "Purchase Request Item"):
if webnotes.conn.exists("DocType", dt):
webnotes.delete_doc("DocType", dt)