[FIX] Custom field may not be found on the first go
bzr revid: jvo@tinyerp.com-20100906144533-eal9zioe9ea2na73
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ class orm_template(object):
|
||||
if context.get('field_name', '') == k:
|
||||
vals['select_level'] = context.get('select', '0')
|
||||
#setting value to let the problem NOT occur next time
|
||||
else:
|
||||
elif k in cols:
|
||||
vals['select_level'] = cols[k]['select_level']
|
||||
|
||||
if k not in cols:
|
||||
|
||||
Reference in New Issue
Block a user