brotherton-erpnext/patches/december_2012/remove_project_mapper.py
2012-12-27 15:14:27 +05:30

6 lines
189 B
Python

import webnotes
def execute():
from webnotes.model import delete_doc
for d in ["Project-Sales Order", "Project-Delivery Note", "Project-Sales Invoice"]:
delete_doc("DocType Mapper", d)