added report button in todo page

This commit is contained in:
Anand Doshi
2013-02-25 15:22:20 +05:30
parent bdf4bcc2ed
commit b60aef5595
4 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
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")