projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adea72a
)
[IMP] don't check for the column type being m2o if we already went through the refere...
author
Xavier Morel
<xmo@openerp.com>
Tue, 18 Oct 2011 10:34:43 +0000
(12:34 +0200)
committer
Xavier Morel
<xmo@openerp.com>
Tue, 18 Oct 2011 10:34:43 +0000
(12:34 +0200)
bzr revid: xmo@openerp.com-
20111018103443
-p1l5cya0nexf6cj1
addons/web/static/src/js/view_list.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_list.js
b/addons/web/static/src/js/view_list.js
index
2f9bfd4
..
1c7f1a1
100644
(file)
--- a/
addons/web/static/src/js/view_list.js
+++ b/
addons/web/static/src/js/view_list.js
@@
-808,8
+808,7
@@
openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
record.set(column.id, names[0][1]);
});
}
- }
- if (column.type === 'many2one') {
+ } else if (column.type === 'many2one') {
value = record.get(column.id);
// m2o values are usually name_get formatted, [Number, String]
// pairs, but in some cases only the id is provided. In these