[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) <mat@odoo.com>
This commit is contained in:
Victor Feyens
2020-07-06 10:30:29 +00:00
parent 8a8d482b43
commit 37f5424593
+1 -1
View File
@@ -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,