deprecated-name-get (ODOO034)
Preview (since 0.16.2.2) · Related issues · View source
Derived from the odoo linter.
This rule is unstable and in preview. The --preview flag is required for use.
What it does
Checks for name_get method definitions.
Why is this bad?
name_get is deprecated since Odoo 17.0; the display name is computed by
_compute_display_name instead.
Example
Use instead: