brotherton-erpnext/erpnext/patches/september_2012/reload_criteria_stock_ledger.py
2012-09-13 15:24:19 +05:30

7 lines
206 B
Python

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