Browse Source

[FIX] remove recipient filtration from set_channel_flags() method

pull/6/head
x620 9 years ago
parent
commit
7d61190899
  1. 2
      mail_sent/static/src/js/sent.js

2
mail_sent/static/src/js/sent.js

@ -26,7 +26,7 @@ base_obj.MailTools.include({
set_channel_flags: function(data, msg){ set_channel_flags: function(data, msg){
this._super.apply(this, arguments); this._super.apply(this, arguments);
if (data.sent && data.author_id[0] == session.partner_id && data.partner_ids.length > 0) {
if (data.sent && data.author_id[0] == session.partner_id) {
msg.is_sent = true; msg.is_sent = true;
} }
return msg; return msg;

Loading…
Cancel
Save