brotherton-erpnext/erpnext/patches/september_2012/reload_criteria_stock_ledger.py

7 lines
206 B
Python
Raw Normal View History

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")