[MERGE] forward port of branch 7.0 up to 3a1c693

This commit is contained in:
Christophe Simonis
2015-12-08 12:16:00 +01:00
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1114,7 +1114,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
ids = value;
}
new instance.web.Model(column.relation)
.call('name_get', [ids, this.dataset.context]).done(function (names) {
.call('name_get', [ids, this.dataset.get_context()]).done(function (names) {
// FIXME: nth horrible hack in this poor listview
record.set(column.id + '__display',
_(names).pluck(1).join(', '));