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

This commit is contained in:
nabinhait 2011-07-01 15:20:35 +05:30
commit eac5913aad

View file

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