Add automaticaly field defined in sequence attributes in the view

This commit is contained in:
Cédric Krier
2009-01-09 18:47:54 +01:00
parent aceccd0c74
commit 3cdb85826d
+2
View File
@@ -2160,6 +2160,8 @@ class ORM(object):
context)
if result:
element.set('string', result)
if element.tag == 'tree' and element.get('sequence'):
fields_attrs.setdefault(element.get('sequence'), {})
if childs:
for field in element: