diff --git a/res_partner_mails_count/static/src/js/main.js b/res_partner_mails_count/static/src/js/main.js new file mode 100644 index 0000000..78fcd66 --- /dev/null +++ b/res_partner_mails_count/static/src/js/main.js @@ -0,0 +1,8 @@ +openerp.res_partner_mails_count = function(instance){ + instance.mail.Wall.include({ + init: function(){ + this._super.apply(this, arguments); + delete this.defaults.model; + } + }); +}; diff --git a/res_partner_mails_count/templates.xml b/res_partner_mails_count/templates.xml index 8339909..a429476 100644 --- a/res_partner_mails_count/templates.xml +++ b/res_partner_mails_count/templates.xml @@ -1,7 +1,15 @@ - + + res.partner.mails.count res.partner