[REV] usage of m2m listview for o2m
Turns out to break way more than it fixes.
This commit is contained in:
parent
cc60504bff
commit
ceb87b78f0
|
@ -1100,7 +1100,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
||||||
record.set(column.id, names[0]);
|
record.set(column.id, names[0]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (column.type === 'many2many' || column.type === 'one2many') {
|
} else if (column.type === 'many2many') {
|
||||||
value = record.get(column.id);
|
value = record.get(column.id);
|
||||||
// non-resolved (string) m2m values are arrays
|
// non-resolved (string) m2m values are arrays
|
||||||
if (value instanceof Array && !_.isEmpty(value)
|
if (value instanceof Array && !_.isEmpty(value)
|
||||||
|
|
Loading…
Reference in New Issue