attribute-string-redundant (W8113)#
A field label repeats what Odoo derives from the field name.
What it does#
Reports field labels equal to the label Odoo generates from the field name:
the name without _id/_ids, with spaces and in title case.
Why is this bad?#
The label adds nothing, and has to be kept in sync by hand when the field is renamed.
Example#
partner_id = fields.Many2one("res.partner", "Partner")
Use instead:
partner_id = fields.Many2one("res.partner")
Fix safety#
Safe when no positional argument follows the label: it is removed.