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

8 lines
246 B
Python

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