brotherton-erpnext/patches/february_2013/p08_todo_query_report.py

9 lines
239 B
Python
Raw Normal View History

2013-02-25 09:52:20 +00:00
import webnotes
def execute():
webnotes.clear_perms("Report")
webnotes.clear_perms("ToDo")
webnotes.reload_doc("core", "doctype", "report")
webnotes.reload_doc("core", "doctype", "todo")
webnotes.reload_doc("core", "report", "todo")