Merge pull request #39030 from kaulith/fix/query-report-export-datetime-total
This commit is contained in:
commit
a921de1fc6
1 changed files with 2 additions and 1 deletions
|
|
@ -751,7 +751,8 @@ def add_total_row(
|
|||
else:
|
||||
first_col_fieldtype = columns[0].get("fieldtype")
|
||||
|
||||
if first_col_fieldtype not in ["Currency", "Int", "Float", "Percent", "Date"]:
|
||||
unsupported_col_types = ("Currency", "Int", "Float", "Percent", "Date", "Datetime", "Time")
|
||||
if first_col_fieldtype not in unsupported_col_types:
|
||||
total_row[0] = _("Total")
|
||||
|
||||
result.append(total_row)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue