deprecated-odoo-model-method (ODOO037)
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 overrides of model methods that Odoo has deprecated (e.g. fields_view_get,
removed in 16.0).
Why is this bad?
Overriding a method the ORM no longer calls means the override silently never runs.