diff --git a/config.json b/config.json index 4369ca8a9c..030af312c3 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "base_template": "lib/website/templates/base.html", - "framework_version": "3.4.1", + "framework_version": "3.4.2", "modules": { "Calendar": { "color": "#2980b9", 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']: