diff --git a/addons/mail/static/src/js/form_renderer.js b/addons/mail/static/src/js/form_renderer.js index 520827d7695..bc77fc5acab 100644 --- a/addons/mail/static/src/js/form_renderer.js +++ b/addons/mail/static/src/js/form_renderer.js @@ -53,7 +53,9 @@ FormRenderer.include({ if (node.tag === 'div' && node.attrs.class === 'oe_chatter') { if (this.mode === 'edit' && !this.state.data.id) { // there is no chatter in create mode - return $('
'); + var $div = $('
'); + this._handleAttributes($div, node); + return $div; } else { if (!this.chatter) { this.chatter = new Chatter(this, this.state, this.mailFields, {