Ver a proveniência

Merge branch 'master' of git://github.com/rmehta/wnframework

version-14
nabinhait há 14 anos
ascendente
cometimento
03fa68da5b
2 ficheiros alterados com 2 adições e 1 eliminações
  1. +1
    -0
      .gitignore
  2. +1
    -1
      cgi-bin/webnotes/model/doctype.py

+ 1
- 0
.gitignore Ver ficheiro

@@ -1,3 +1,4 @@
*.pyc
*.comp.js
*.DS_Store
defs.py

+ 1
- 1
cgi-bin/webnotes/model/doctype.py Ver ficheiro

@@ -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


Carregando…
Cancelar
Guardar