From 7fd20304ea3b4767f4e167dd2d4963cddb01ba5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Mon, 4 Jul 2022 09:57:37 +0000 Subject: [PATCH] [IMP] mail: remove useless _updateChatterContainerTarget None of the values that changes the result of this method have changed in this case. Part of task-2871070 Part-of: odoo/odoo#95218 --- addons/mail/static/src/widgets/form_renderer/form_renderer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/mail/static/src/widgets/form_renderer/form_renderer.js b/addons/mail/static/src/widgets/form_renderer/form_renderer.js index 067571b3794..c07ca8689ad 100644 --- a/addons/mail/static/src/widgets/form_renderer/form_renderer.js +++ b/addons/mail/static/src/widgets/form_renderer/form_renderer.js @@ -271,7 +271,6 @@ FormRenderer.include({ } } this.trigger_up('preview_attachment_validation'); - this._updateChatterContainerTarget(); } else { this.attachmentViewer = new AttachmentViewer(this, thread); this.attachmentViewer.appendTo($(this.attachmentViewerTarget)).then(function () {