Ver a proveniência

fix in import

version-14
Rushabh Mehta há 14 anos
ascendente
cometimento
3d114ad763
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      cgi-bin/webnotes/model/doctype.py

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

@@ -141,7 +141,7 @@ class _DocType:
for d in doclist:
if d['doctype']=='DocField':
if d.get('fieldname') or d.get('label'):
fields[d['fieldname'] or d['label']] = d
fields[d.get('fieldname') or d('label')] = d
return fields
def _update_field_properties(self, doclist):


Carregando…
Cancelar
Guardar