method-required-super (W8106)#
An override of a core method does not call super().
What it does#
Reports overrides of methods such as create, write, unlink, copy and
setUp that never call super().
Why is this bad?#
The override replaces the method of every module below it in the inheritance chain, including the ORM’s own implementation.
Configuration#
[tool.odoo-lint.rules.method-required-super]
methods = ["copy", "create", "default_get", "read", "unlink", "write"]