brotherton-erpnext/patches/november_2012/remove_old_unbilled_items_report.py

7 lines
221 B
Python
Raw Normal View History

import webnotes
def execute():
webnotes.delete_doc("Search Criteria", "delivery_note_itemwise_pending_to_bill")
from webnotes.modules import reload_doc
reload_doc("accounts", "report", "delivered_items_to_be_billed")