[FIX] Custom field may not be found on the first go
bzr revid: jvo@tinyerp.com-20100906144533-eal9zioe9ea2na73
This commit is contained in:
parent
6b2e5f9896
commit
d429b331e0
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue