[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user