[IMP] mail: display unread button on all documents chatter messages

bzr revid: chm@openerp.com-20130130121523-8ox71me2w0mlb46u
This commit is contained in:
Christophe Matthieu 2013-01-30 13:15:23 +01:00
parent 7674db0ed5
commit dbe1312355
1 changed files with 4 additions and 3 deletions

View File

@ -232,9 +232,9 @@ openerp.mail = function (session) {
else {
this.options.show_read = this.to_read;
this.options.show_unread = !this.to_read;
this.options.rerender = true;
this.options.toggle_read = true;
}
this.options.rerender = true;
this.options.toggle_read = true;
}
this.parent_thread = parent.messages != undefined ? parent : this.options.root_thread;
this.thread = false;
@ -1605,7 +1605,8 @@ openerp.mail = function (session) {
this.node.params = _.extend({
'display_indented_thread': -1,
'show_reply_button': false,
'show_read_unread_button': false,
'show_read_unread_button': true,
'read_action': 'unread',
'show_record_name': false,
'show_compact_message': 1,
}, this.node.params);