[IMP] don't check for the column type being m2o if we already went through the reference case
bzr revid: xmo@openerp.com-20111018103443-p1l5cya0nexf6cj1
This commit is contained in:
parent
adea72acd7
commit
7b600e82c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue