[FIX]calendar: use display_name instead of name, because of template change, now FieldMany2ManyTag uses display_name to show lable on tag
This commit is contained in:
committed by
Christophe Matthieu
parent
8c51bb7476
commit
06a3609ac8
@@ -247,7 +247,7 @@ var Many2ManyAttendee = FieldMany2ManyTags.extend({
|
||||
|
||||
function process_data(data) {
|
||||
return _.map(data, function(d) {
|
||||
return _.object(['id', 'name', 'status'], d);
|
||||
return _.object(['id', 'display_name', 'status'], d);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user