[FIX] Error string formatting

This commit is contained in:
Florian da Costa
2021-06-04 18:12:57 +02:00
committed by Alexis de Lattre
parent 8db8e5f986
commit 10eae67cb5

View File

@@ -249,7 +249,7 @@ class AccountStatementImport(models.TransientModel):
"bank journal doesn't exist yet, you should create "
"a new one."
)
% (account_number, company.partner_id.display_name)
% (account_number,)
)
else:
raise UserError(