fix(report): skip total row label for datetime/time first column
This commit is contained in:
parent
4093ecc409
commit
ede2dea043
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue