From f2d0995362ccdae88ba64597ea6f0feca3eab618 Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Thu, 4 Apr 2019 09:24:34 +0000 Subject: [FIX] mail: fixes document viewer's url preview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit fixes the document viewer: the document viewer was altering the `type` key of attachment objects, this issue was causing matching errors in some cases. With this commit, the document viewer widget uses its own key `attachment.fileType` to store the information that used to override `attachment.type` closes odoo/odoo#32414 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/xml/thread.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 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 be73917a1b5..6d8782cad97 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -38,9 +38,9 @@
- - - + + + @@ -48,19 +48,19 @@
-
+
- Viewer -