|
|
@ -1,10 +1,10 @@ |
|
|
|
openerp.res_partner_mails_count = function(instance){ |
|
|
|
instance.mail.Wall.include({ |
|
|
|
init: function(){ |
|
|
|
this._super.apply(this, arguments); |
|
|
|
if(this.context.ignore_search_model){ |
|
|
|
delete this.defaults.model; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}; |
|
|
|
// openerp.res_partner_mails_count = function(instance){
|
|
|
|
// instance.mail.Wall.include({
|
|
|
|
// init: function(){
|
|
|
|
// this._super.apply(this, arguments);
|
|
|
|
// if(this.context.ignore_search_model){
|
|
|
|
// delete this.defaults.model;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// });
|
|
|
|
// };
|