소스 검색

change the data field into string if number is given (#4783)

version-14
Manas Solanki 7 년 전
committed by Nabin Hait
부모
커밋
f08836e8b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/core/doctype/data_import/importer.py

+ 1
- 1
frappe/core/doctype/data_import/importer.py 파일 보기

@@ -168,7 +168,7 @@ def upload(rows = None, submit_after_import=None, ignore_encoding_errors=False,
# added file to attachments list
attachments.append(d[fieldname])

elif fieldtype in ("Link", "Dynamic Link") and d[fieldname]:
elif fieldtype in ("Link", "Dynamic Link", "Data") and d[fieldname]:
# as fields can be saved in the number format(long type) in data import template
d[fieldname] = cstr(d[fieldname])



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