[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) <wbr@odoo.com>
This commit is contained in:
William Braeckman
2022-08-31 22:13:04 +02:00
parent e379c62848
commit d325c028db
@@ -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.