fix in remove old unbilled items report

This commit is contained in:
Anand Doshi 2012-11-23 18:14:57 +05:30
parent d4b0373b92
commit b5dcaecc37

View File

@ -1,6 +1,7 @@
import webnotes
def execute():
webnotes.conn.sql("""delete from `tabSearch Criteria` where name='Delivery Note Itemwise Pending To Bill'""")
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")