From 7e0ed840d6a17f050a3c99e8286a8124eaf8a4dc Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Wed, 28 Aug 2019 07:48:57 +0000 Subject: [PATCH] [FIX] mail: fixes src for text files in the document viewer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, the url for the src of the iFrame used to display text files in the document viewer wasn't properly set, resulting in the `model` argument to be invalid. This commit fixes this issue. Task-Id 2058588 closes odoo/odoo#36160 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/xml/thread.xml | 2 +- addons/mail/static/tests/document_viewer_tests.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 50eea76a406..24370c65e4e 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -53,7 +53,7 @@ Viewer