ir.model.fields
Field. Defined in module base; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 17 fields added, 1 removed, 0 renamed, 2 type changes.
AI extensions for model fields, allowing fields to be computed or populated by an AI model based on a system prompt.
- Odoo 16 base
- Odoo 17 base
- Odoo 18 base
- Odoo 19 base
- Odoo 20 base
Fields added (9)
| Field | Type | Module |
|---|---|---|
| currency_field | char | base |
| sanitize | boolean | base |
| sanitize_attributes | boolean | base |
| sanitize_form | boolean | base |
| sanitize_overridable | boolean | base |
| sanitize_style | boolean | base |
| sanitize_tags | boolean | base |
| strip_classes | boolean | base |
| strip_style | boolean | base |
Fields added (1)
| Field | Type | Module |
|---|---|---|
| company_dependent | boolean | base |
Fields removed (1)
| Field | Type | Module | Notes |
|---|---|---|---|
| complete_name | char | base |
Fields added (3)
| Field | Type | Module |
|---|---|---|
| ai | boolean | ai_fields |
| ai_domain | char | ai_fields |
| system_prompt | html | ai_fields |
Type changed (1)
| Field | Odoo 18 | Odoo 19 |
|---|---|---|
| translate | boolean | selection |
Fields added (4)
| Field | Type | Module |
|---|---|---|
| allowed_index_types | json | base |
| prompt_custom | html | ai_fields |
| relation_model_field | char | base |
| supports_ai | boolean | ai_fields |
Type changed (1)
| Field | Odoo 19 | Odoo 20 |
|---|---|---|
| index | boolean | selection |
All fields declared on ir.model.fields (53)
Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.
present not present not covered (Enterprise, Odoo 16 and 17)
Show all 53 fields
| Field | Type | Label | Module | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|
| ai | boolean | Autofill | ai_fieldsE | |||||
| ai_domain | char | AI field domain | ai_fieldsE | |||||
| allowed_index_types | json | base | ||||||
| column1 | char | Column 1 | base | |||||
| column2 | char | Column 2 | base | |||||
| company_dependent | boolean | Company Dependent | base | |||||
| complete_name | char | base | ||||||
| compute | text | base | ||||||
| copied | boolean | Copied | base | |||||
| currency_field | char | Currency field | base | |||||
| depends | char | Dependencies | base | |||||
| domain | char | base | ||||||
| field_description | char | Field Label | base | |||||
| group_expand | boolean | Expand Groups | base | |||||
| groups | many2many res.groups | base | ||||||
| help | text | Field Help | base | |||||
| index | selection | Index | base | |||||
| model | char | Model Name | base | |||||
| model_id | many2one ir.model | Model | base | |||||
| modules | char | In Apps | base | |||||
| name | char | Field Name | base | |||||
| on_delete | selection | On Delete | base | |||||
| prompt_custom | html | ai_fieldsE | ||||||
| readonly | boolean | base | ||||||
| related | char | Related Field Definition | base | |||||
| related_field_id | many2one ir.model.fields | Related Field | base | |||||
| relation | char | Related Model | base | |||||
| relation_field | char | base | ||||||
| relation_field_id | many2one ir.model.fields | Relation field | base | |||||
| relation_model_field | char | base | ||||||
| relation_table | char | base | ||||||
| required | boolean | base | ||||||
| sanitize | boolean | Sanitize HTML | base | |||||
| sanitize_attributes | boolean | Sanitize HTML Attributes | base | |||||
| sanitize_form | boolean | Sanitize HTML Form | base | |||||
| sanitize_overridable | boolean | Sanitize HTML overridable | base | |||||
| sanitize_style | boolean | Sanitize HTML Style | base | |||||
| sanitize_tags | boolean | Sanitize HTML Tags | base | |||||
| selectable | boolean | base | ||||||
| selection | char | Selection Options (Deprecated) | base | |||||
| selection_ids | one2many ir.model.fields.selection | Selection Options | base | |||||
| serialization_field_id | many2one ir.model.fields | Serialization Field | base_sparse_field | |||||
| size | integer | base | ||||||
| state | selection | Type | base | |||||
| store | boolean | Stored | base | |||||
| strip_classes | boolean | Strip Class Attribute | base | |||||
| strip_style | boolean | Strip Style Attribute | base | |||||
| supports_ai | boolean | ai_fieldsE | ||||||
| system_prompt | html | Prompt | ai_fieldsE | |||||
| tracking | integer | Enable Ordered Tracking | ||||||
| translate | selection | Translatable | base | |||||
| ttype | selection | Field Type | base | |||||
| website_form_blacklisted | boolean | Blacklisted in web forms | website |