diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-01-25 12:23:25 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-01-25 12:23:25 +0100 |
| commit | 1d077e0a95d9823f3ca0a985b0d475d5cdcc5a0a (patch) | |
| tree | 6306c3dd17b013c5602da6b286e396f973191ca7 /addons/web/controllers/main.py | |
| parent | 4ffe5f55451bb41b4baa51cf337e2cf99121624f (diff) | |
[IMP] id special case, keep original @type
bzr revid: fme@openerp.com-20120125112325-xup3ol7ns99l02rp
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index acf4685ea40..b5262747692 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -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'): |
