[FIX] models.py: string format error

closes odoo/odoo#34485

Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
David
2019-07-01 11:39:37 +00:00
parent 5c157c57b0
commit 8c5c4037d2
+1 -1
View File
@@ -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,
)
)