[FIX] mail: use defined variable

Oversight of previous forward-port.
This commit is contained in:
Christophe Simonis
2019-06-17 14:08:45 +02:00
parent 25e3f27062
commit 65cc06e3ab
+1 -1
View File
@@ -958,7 +958,7 @@ class Message(models.Model):
return
raise AccessError(
_('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: %s, Operation: %s)') % (self._description, operation)
+ ' - ({} {}, {} {})'.format(_('Records:'), list(other_ids)[:6], _('User:'), self._uid)
+ ' - ({} {}, {} {})'.format(_('Records:'), list(messages_to_check)[:6], _('User:'), self._uid)
)
@api.model