This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
fix in import
version-14
Rushabh Mehta
14 年之前
父節點
1ccb9dc139
當前提交
9d5bb4c884
共有
2 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
.gitignore
+1
-1
cgi-bin/webnotes/model/doctype.py
+ 1
- 0
.gitignore
查看文件
@@ -1,3 +1,4 @@
*.pyc
*.comp.js
*.DS_Store
defs.py
+ 1
- 1
cgi-bin/webnotes/model/doctype.py
查看文件
@@ -140,7 +140,7 @@ class _DocType:
fields = {}
for d in doclist:
if d['doctype']=='DocField':
if d
['fieldname'] or d['label']
:
if d
.get('fieldname') or d.get('label')
:
fields[d['fieldname'] or d['label']] = d
return fields
Write
Preview
Loading…
取消
儲存