This module adds the deprecated field to the Odoo field itself based on the value set to the Python field. This can be useful to determine which are the declared deprecated fields in a fast way.
auto_awesome What this module does
AI-generated from the code · Odoo 15.0Adds a "Deprecated" flag to the technical field list in Odoo, so administrators can see and filter which fields are marked as deprecated in the code.
This module extends the technical model that stores field definitions (ir.model.fields) with a new boolean field called deprecated. When Odoo reflects the fields defined in code, this value is filled automatically from the field's own deprecated attribute.
Where it appears:
- In the technical list of fields (tree view), a new "Deprecated" column is shown next to the "Readonly" column.
- In the field form view, the "Deprecated" checkbox appears after "Copied", but only for users with the technical settings group (base.group_no_one).
- In the search view, a new "Deprecated" filter is added after the "Readonly" filter, allowing users to show only deprecated fields.
Automatic behaviour:
- When the module is installed, a post-install hook scans all existing models and their fields. For every field that is marked as deprecated in the code, the corresponding record in ir.model.fields is updated to set the new flag to true.
This module touches the ir.model.fields model and its views. It does not change any business logic or user-facing screens outside the technical field management area.
Depends on
Models and fields (1)
- ir.model.fields · extends an existing modeldeprecated
Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/server-ux.
terminal Installation and usage
OCA documentation · Odoo 15.0Usage
Source · Odoo 15.0- By setting deprecated=True to a declared field, the Odoo field will inherit the value and it will be stored at the database level.
- For instance:
- If we have the following field: test_field = fields.Boolean(deprecated=True).
- By looking at the instance that saves the information of the Python field on the ir.model.fields model, the deprecated attribute will be set there, just like copied, store, computed, among others.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.