translation-too-many-args (E8305)#

_() gets more arguments than its format string uses.

Applies to Odoo 14.0 and later.

What it does#

Reports _("...", args) calls with more positional arguments than the format string has placeholders.

Why is this bad?#

Formatting raises TypeError at run time.