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