[FIX] Update from old repo

This commit is contained in:
Thomas Winteler 2021-06-11 07:50:40 +02:00 committed by OCA2FC Migrator Bot
parent dadcbbc470
commit 2316872786

View File

@ -612,6 +612,7 @@ class MisReport(models.Model):
domain = query.domain and safe_eval(query.domain, eval_context) or [] domain = query.domain and safe_eval(query.domain, eval_context) or []
if get_additional_query_filter: if get_additional_query_filter:
domain.extend(get_additional_query_filter(query)) domain.extend(get_additional_query_filter(query))
if query.date_field.ttype:
if query.date_field.ttype == "date": if query.date_field.ttype == "date":
domain.extend( domain.extend(
[ [