From 8ebf1b86f8fe27c66545351c1631c535753dbb19 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 19 Dec 2012 15:34:00 +0530 Subject: [PATCH] added disabled in Report and no_sync fields in import_merge --- utilities/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/__init__.py b/utilities/__init__.py index b4ce38af17..486568d638 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