[IMP]mail post: no send empty message

bzr revid: chm@openerp.com-20120927172350-6nbedjnnmwz3j351
This commit is contained in:
Christophe Matthieu
2012-09-27 19:23:50 +02:00
parent d78a7cdea1
commit 96dee3a6b0
-1
View File
@@ -685,7 +685,6 @@ openerp.mail = function(session) {
/* Display the message if if the msg_id don't exists.
* If the record have a parent, insert parent or inside parent */
message_treat_new_data: function(records) {
console.log(this, records);
var self=this;
_(records.reverse()).each(function (record) {
if(!self.browse_thread({'id':record.id, 'model':record.model})){