brotherton-erpnext/patches/december_2012/production_cleanup.py

5 lines
153 B
Python
Raw Normal View History

def execute():
import webnotes
from webnotes.model import delete_doc
delete_doc("DocType", "Production Control")
delete_doc("DocType", "BOM Control")