Bläddra i källkod

[Fix] unsupported operand type(s) for /: 'unicode' and 'int' (#3689)

version-14
rohitwaghchaure 8 år sedan
committed by Rushabh Mehta
förälder
incheckning
983be1e506
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py Visa fil

@@ -208,7 +208,7 @@ def add_total_row(result, columns, meta = None):
total_row[i] = result[0][i]

for i in has_percent:
total_row[i] = total_row[i] / len(result)
total_row[i] = flt(total_row[i]) / len(result)

first_col_fieldtype = None
if isinstance(columns[0], basestring):


Laddar…
Avbryt
Spara