From 82298a2f26b59f9bc15e13b548ccedc4a4a85da7 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 30 Dec 2013 19:30:43 +0530 Subject: [PATCH] [hotfix] Reportview Filters --- webnotes/widgets/reportview.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webnotes/widgets/reportview.py b/webnotes/widgets/reportview.py index 5a47ebe0bb..c6c7ffe97b 100644 --- a/webnotes/widgets/reportview.py +++ b/webnotes/widgets/reportview.py @@ -172,6 +172,9 @@ def build_filter_conditions(filters, conditions): tname = ('`tab' + f[0] + '`') if not tname in webnotes.local.reportview_tables: webnotes.local.reportview_tables.append(tname) + + if not hasattr(webnotes.local, "reportview_doctypes"): + load_doctypes() # prepare in condition if f[2] in ['in', 'not in']: