이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
anoopmb
/
frappe
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
fix: 'Meta' object has no attribute 'is_tree'
version-14
barredterra
4 년 전
부모
4a5f8dd23d
커밋
cb21e9de84
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/modules/import_file.py
+ 1
- 1
frappe/modules/import_file.py
파일 보기
@@ -107,7 +107,7 @@ def import_doc(docdict, force=False, data_import=False, pre_process=None,
doc = frappe.get_doc(docdict)
if doc.meta.is_tree:
if
hasattr(
doc.meta
, 'is_tree') and getattr(doc
.
meta, '
is_tree
')
:
doc.lft = None
doc.rgt = None
쓰기
미리보기
불러오는 중...
취소
저장