From e7aff236b8073b952a0e554d9897a8f88d5c4c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Wed, 4 Sep 2019 07:46:45 +0000 Subject: [FIX] mail: no message attachment delete in discuss and chat window Delete attachment from message makes only sense from chatter. Task-Id 2058455 --- addons/mail/static/src/xml/thread.xml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'addons/mail/static/src/xml/thread.xml') diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index ef21b2c5ede..12d41ebd431 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -254,6 +254,7 @@ @param {boolean} [options.displayReplyIcons] @param {boolean} [options.displayStars] @param {boolean} [options.displaySubjectsOnMessages] + @param {boolean} options.hasMessageAttachmentDeletable @param {string|integer} [options.messagesSeparatorPosition] 'top' or message ID, the separator is placed just after this message. @param {integer} [options.selectedMessageID] @@ -354,12 +355,16 @@
- + + +
- + + +
@@ -526,6 +531,7 @@ @param {integer} attachment.id @param {string} attachment.name @param {string} attachment.url + @param {boolean} [isDeletable=false] -->