瀏覽代碼

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

version-14
rohitwaghchaure 8 年之前
committed by Rushabh Mehta
父節點
當前提交
983be1e506
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py 查看文件

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


Loading…
取消
儲存