From 37f5424593221ccc0c80e68ea4c925fbfa05d9a9 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 2 Jul 2020 15:03:38 +0000 Subject: [PATCH] [IMP] core: simplified error message -> 1 less translation -> the first part of the message didn't add anything useful closes odoo/odoo#54118 Related: odoo/enterprise#11676 Signed-off-by: Martin Trigaux (mat) --- odoo/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/models.py b/odoo/models.py index f4b0012dfff..bc4778212ba 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -3285,7 +3285,7 @@ Record ids: %(records)s return _logger.info('Failed operation on deleted record(s): %s, uid: %s, model: %s', operation, self._uid, self._name) raise MissingError( - _('Missing document(s)') + ':' + _('One of the documents you are trying to access has been deleted, please try again after refreshing.') + _('One of the documents you are trying to access has been deleted, please try again after refreshing.') + '\n\n({} {}, {} {}, {} {}, {} {})'.format( _('Document type:'), self._name, _('Operation:'), operation, _('Records:'), invalid.ids[:6], _('User:'), self._uid,