[IMP] id special case, keep original @type
bzr revid: fme@openerp.com-20120125112325-xup3ol7ns99l02rp
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user