[IMP] id special case, keep original @type
bzr revid: fme@openerp.com-20120125112325-xup3ol7ns99l02rp
This commit is contained in:
parent
4ffe5f5545
commit
1d077e0a95
|
@ -967,7 +967,9 @@ class View(openerpweb.Controller):
|
|||
|
||||
if 'id' in fvg['fields']:
|
||||
# Special case for id's
|
||||
fvg['fields']['id']['type'] = 'id'
|
||||
id_field = fvg['fields']['id']
|
||||
id_field['original_type'] = id_field['type']
|
||||
id_field['type'] = 'id'
|
||||
|
||||
for field in fvg['fields'].itervalues():
|
||||
if field.get('views'):
|
||||
|
|
Loading…
Reference in New Issue