fix in import
This commit is contained in:
parent
9d5bb4c884
commit
3d114ad763
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue