summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-06-26 11:17:21 +0200
committerXavierDo <xdo@odoo.com>2018-07-11 12:25:33 +0200
commit62591c58f8abded96b5fedcc4d9760550b7bdf18 (patch)
treec4e607fc4bf7498ce838fb7faf619b4a4c605c07 /addons/mail/static/src/xml
parent1b323e8b173e622adebdf2c6c2df8de759d83714 (diff)
[FIX] mail: add ability to mark failure notification as read
The mark as read button was not working for mail failure. More than that, we wanted a functionnality to be able to massively mark mail failure as canceled, especially to be able to clean databases from failure after migration. Task: #1860054 PR: #25622
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/discuss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/discuss.xml b/addons/mail/static/src/xml/discuss.xml
index 1eda1dfec1b..f1fef247c7c 100644
--- a/addons/mail/static/src/xml/discuss.xml
+++ b/addons/mail/static/src/xml/discuss.xml
@@ -237,7 +237,7 @@
</t>
<t t-raw="channel.last_message_preview"/>
</div>
- <span t-att-data-channel_id="channel.id" t-att-data-res_id="channel.res_id" t-att-data-model="channel.model" title="Mark as Read" class="o_discuss_icon o_mail_channel_mark_read fa fa-check" t-if="channel.unread_counter"/>
+ <span t-att-data-channel_id="channel.id" t-att-data-res_id="channel.res_id" t-att-data-model="channel.model" t-att-data-unread_counter="channel.unread_counter" title="Mark as Read" class="o_discuss_icon o_mail_channel_mark_read fa fa-check" t-if="channel.unread_counter"/>
</div>
</div>
</t>