From d325c028db7a28e09b17fb5272665f52e8fa521f Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Thu, 18 Aug 2022 11:50:37 +0000 Subject: [PATCH] [IMP] mail: change identifyingmode of attachment viewer Part of the document B2B (see odoo/enterprise#29807 ) The attachment viewer can be opened without being a dialog in the documents app now. TaskId-2863861 closes odoo/odoo#98389 Related: odoo/upgrade#3835 Signed-off-by: William Braeckman (wbr) --- addons/mail/static/src/models/attachment_viewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mail/static/src/models/attachment_viewer.js b/addons/mail/static/src/models/attachment_viewer.js index 80e032e39b0..53ac42f679e 100644 --- a/addons/mail/static/src/models/attachment_viewer.js +++ b/addons/mail/static/src/models/attachment_viewer.js @@ -6,6 +6,7 @@ import { clear } from '@mail/model/model_field_command'; registerModel({ name: 'AttachmentViewer', + identifyingMode: 'xor', recordMethods: { /** * Close the dialog with this attachment viewer.