mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
added report button in todo page
This commit is contained in:
8
patches/february_2013/p08_todo_query_report.py
Normal file
8
patches/february_2013/p08_todo_query_report.py
Normal 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")
|
||||
@@ -193,5 +193,6 @@ patch_list = [
|
||||
"patches.february_2013.repost_reserved_qty",
|
||||
"execute:webnotes.reload_doc('core', 'doctype', 'report') # 2013-02-25",
|
||||
"execute:webnotes.conn.sql(\"update `tabReport` set report_type=if(ifnull(query, '')='', 'Report Builder', 'Query Report') where is_standard='No'\")",
|
||||
"execute:webnotes.conn.sql(\"update `tabReport` set report_name=name where ifnull(report_name,'')='' and is_standard='No'\")"
|
||||
"execute:webnotes.conn.sql(\"update `tabReport` set report_name=name where ifnull(report_name,'')='' and is_standard='No'\")",
|
||||
"patches.february_2013.p08_todo_query_report",
|
||||
]
|
||||
Reference in New Issue
Block a user