From fdfeedc5aa5a0832257ce7e6218c3c38b232e31b Mon Sep 17 00:00:00 2001 From: Thomas Winteler Date: Fri, 11 Jun 2021 07:51:18 +0200 Subject: [PATCH] [FIX] Update from old repo --- mis_builder/models/mis_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/mis_report.py b/mis_builder/models/mis_report.py index 021f5c2..2157786 100644 --- a/mis_builder/models/mis_report.py +++ b/mis_builder/models/mis_report.py @@ -612,7 +612,7 @@ class MisReport(models.Model): domain = query.domain and safe_eval(query.domain, eval_context) or [] if get_additional_query_filter: domain.extend(get_additional_query_filter(query)) - if query.date_field.ttype: + if query.date_field: if query.date_field.ttype == "date": domain.extend( [