This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
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
Write
Preview
Loading…
取消
儲存