소스 검색

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


불러오는 중...
취소
저장