diff --git a/utilities/__init__.py b/utilities/__init__.py index b4ce38af17b..486568d638d 100644 --- a/utilities/__init__.py +++ b/utilities/__init__.py @@ -49,6 +49,7 @@ def get_report_list(): where tabDocType.module=%s and tabDocType.name = tabReport.ref_doctype and tabReport.docstatus in (0, NULL) + and ifnull(tabReport.disabled,0) != 1 order by tabReport.name limit %s, %s""" % \ ("%s", cint(limit_start), cint(limit_page_length)), (module,), as_dict=True) \ No newline at end of file