[FIX] mail: followers widget

id of the partner / channel is now res_id. id is the id of the follower
entry itself.
This commit is contained in:
Thibault Delavallée
2015-08-21 16:37:20 +02:00
parent f434c475d4
commit 3a4848e3a9
+1 -1
View File
@@ -241,7 +241,7 @@ var Followers = form_common.AbstractField.extend({
// truncate number of displayed followers
_(this.followers).each(function (record) {
$(qweb.render('mail_followers_partner', {
'record': _.extend(record, {'avatar_url': mail_utils.get_image(session, record['res_model'], 'image_small', record['id'])}),
'record': _.extend(record, {'avatar_url': mail_utils.get_image(session, record['res_model'], 'image_small', record['res_id'])}),
'widget': self})
).appendTo(node_user_list);
// On mouse-enter it will show the edit_subtype pencil.