upgrade-removed-17 (U1791)#
A model or field that Odoo 17.0 removed.
Applies to Odoo 17.0 and later.
What it does#
Reports the models and fields that Odoo 17.0 removed, in the places listed for the renames (U1790).
Why is this bad?#
The name no longer exists: env["..."] raises a KeyError, an _inherit
stops the registry from loading, a view or data file fails to install, and
Python code fails where it reads the field. The feature moved elsewhere or
went away; there is no automatic fix.
Limitations#
The data comes from the analysis of OpenUpgrade, checked against Odoo’s sources, so it covers Odoo’s own modules. Docstrings, migration scripts, version guards, models and fields the module defines itself, and names other rules report are skipped.