From 8c5c4037d27fe94b7f5aa3f2a59e7a6d827eeebf Mon Sep 17 00:00:00 2001 From: David Date: Mon, 1 Jul 2019 11:37:39 +0000 Subject: [PATCH] [FIX] models.py: string format error closes odoo/odoo#34485 Signed-off-by: Nicolas Lempereur (nle) --- odoo/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/models.py b/odoo/models.py index eb7ffab4e26..7707ffd2228 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -2879,7 +2879,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})): _('Missing document(s)') + ':' + _('One of the documents you are trying to access has been deleted, please try again after refreshing.') + '\n\n({} {}, {} {}, {} {}, {} {})'.format( _('Document type:'), self._description, _('Operation:'), operation, - _('Records:'), missing_ids[:6], _('User:'), self._uid, + _('Records:'), list(missing_ids)[:6], _('User:'), self._uid, ) )