From e2a8ee3aa11633e7943f70bcbb9b68d8d7fb5a48 Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Fri, 17 Jan 2020 07:38:36 +0000 Subject: [PATCH] [FIX] mail: restores the documentViewer modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revision on https://github.com/odoo/odoo/commit/34bbdd88c0bc354b76b254bb78c4eb786f3d08c0#diff-9da02f8f30ea349fbc4b9884c2b77b78 The document viewer did not work properly because, by default, dialogs are non-active, so most interactions were not possible (just pressing ESC to close the dialog worked). The correct fix consists of using OwlDialog for DocumentViewer, but that's basically close to a re-writing, so in the meantime marking it as always active is fine. closes odoo/odoo#43446 Task: 2177011 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/xml/thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 31614cf4f4f..4febfcca11f 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -87,7 +87,7 @@ @param {mail.DocumentViewer} widget --> -