brotherton-erpnext/patches/september_2012/reload_criteria_stock_ledger.py

8 lines
246 B
Python
Raw Normal View History

2012-09-18 13:22:05 +00:00
from __future__ import unicode_literals
def execute():
import webnotes
from webnotes.modules import reload_doc
reload_doc('stock', 'Search Criteria', 'Stock Ledger')
from webnotes.model import delete_doc
delete_doc("Report", "Stock Ledger")