summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/models')
-rw-r--r--addons/mail/static/src/models/composer/composer.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/mail/static/src/models/composer/composer.js b/addons/mail/static/src/models/composer/composer.js
index 58bdb3c8b25..25052fd1b38 100644
--- a/addons/mail/static/src/models/composer/composer.js
+++ b/addons/mail/static/src/models/composer/composer.js
@@ -174,7 +174,7 @@ function factory(dependencies) {
*/
_computeRecipients() {
const recipients = [...this.mentionedPartners];
- if (this.thread) {
+ if (this.thread && !this.isLog) {
for (const recipient of this.thread.suggestedRecipientInfoList) {
if (recipient.partner && recipient.isSelected) {
recipients.push(recipient.partner);
@@ -939,6 +939,7 @@ function factory(dependencies) {
recipients: many2many('mail.partner', {
compute: '_computeRecipients',
dependencies: [
+ 'isLog',
'mentionedPartners',
'threadSuggestedRecipientInfoListIsSelected',
// FIXME thread.suggestedRecipientInfoList.partner should be a