field-string-redundant (MOD009)#
A field’s string is the label Odoo derives from its name anyway.
What it does#
Reports a string (keyword or positional) on a field of an Odoo model that
equals the label Odoo derives from the field name: the name without _id
or _ids, with spaces for underscores, in title case (partner_id ->
"Partner", date_order -> "Date Order"). Related fields are left alone,
since their label comes from the related field.
Why is this bad?#
It is noise, and one more string for translators.
Fix safety#
Safe when no positional argument follows the string: it is removed.