mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
added report button in todo page
This commit is contained in:
@@ -2,7 +2,8 @@ from __future__ import unicode_literals
|
||||
import webnotes
|
||||
from webnotes.widgets.reportview import execute as runreport
|
||||
|
||||
def execute(filters={}):
|
||||
def execute(filters=None):
|
||||
if not filters: filters = {}
|
||||
employees = runreport(doctype="Employee", fields=["name", "employee_name", "department"])
|
||||
leave_types = webnotes.conn.sql_list("select name from `tabLeave Type`")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user