deprecated-inselect-operator (ODOO044)
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 the inselect/not inselect domain operators.
Why is this bad?
These operators were removed in Odoo 18.0 in favor of in/not in with an SQL
subquery value.
Example
Use instead: