Merge pull request #39030 from kaulith/fix/query-report-export-datetime-total

This commit is contained in:
Hussain Nagaria 2026-04-30 16:53:51 +05:30 committed by GitHub
commit a921de1fc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)