fix(report): skip total row label for datetime/time first column

This commit is contained in:
Kaushal Shriwas 2026-04-30 13:20:16 +05:30
parent 4093ecc409
commit ede2dea043

View file

@ -751,7 +751,7 @@ def add_total_row(
else:
first_col_fieldtype = columns[0].get("fieldtype")
if first_col_fieldtype not in ["Currency", "Int", "Float", "Percent", "Date"]:
if first_col_fieldtype not in ["Currency", "Int", "Float", "Percent", "Date", "Datetime", "Time"]:
total_row[0] = _("Total")
result.append(total_row)