brotherton-erpnext/patches/february_2013/p08_todo_query_report.py
2013-02-25 15:22:20 +05:30

9 lines
239 B
Python

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