---
title: "model_fields (Odoo)"
description: "itgen_odoo_model_fields"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/odoo/Odoo.ir.model_fields
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.ir.model_fields
updated: 2026-11-18T01:04:13Z
license: https://documentation.invantive.eu/it/
---

# model_fields: Odoo itgen_odoo_model_fields

`read only` `per partition`

- Catalogo: `Odoo`
- Schema: `ir`
- Etichetta: itgen_odoo_model_fields

Campi

È possibile solo recuperare i dati.

## Riepilogo

fields configuration for form builder

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `model_fields`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `column1` | `varchar2` | Colonna 1 | [ ] |  | Column referring to the record in the model table |
| `column2` | `varchar2` | Colonna 2 | [ ] |  | Column referring to the record in the comodel table |
| `complete_name` | `varchar2` | Complete Name | [ ] |  |  |
| `compute` | `varchar2` | Compute | [ ] |  | Code to compute the value of the field.Iterate on the recordset 'self' and assign the field's value:      for record in self:         record['size'] = len(record.name)  Modules time, datetime, dateutil are available. |
| `copied` | `boolean` | Copied | [ ] |  | Whether the value is copied when duplicating a record. |
| `create_date` | `datetime` | Creato il | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `depends` | `varchar2` | Dependencies | [ ] |  | Dependencies of compute method; a list of comma-separated field names, like      name, partner_id.name |
| `display_name` | `varchar2` | Nome visualizzato | [ ] |  |  |
| `domain` | `varchar2` | Domain | [ ] |  | The optional domain to restrict possible values for relationship fields, specified as a Python expression defining a list of triplets.For example: [('color','=','red')] |
| `field_description` | `varchar2` | Etichetta del campo | [x] |  |  |
| `group_expand` | `boolean` | Expand Groups | [ ] |  | If checked, all the records of the target model will be included in a grouped result (e.g. 'Group By' filters, Kanban columns, etc.).Note that it can significantly reduce performance if the target model of the field contains a lot of records; usually used on models with few records (e.g.Stages, Job Positions, Event Types, etc.). |
| `groups` | `varchar2` |  | [ ] |  |  |
| `help` | `varchar2` | Field Help | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `index` | `boolean` | Indexed | [ ] |  |  |
| `model` | `varchar2` | Nome del modello | [x] |  | The technical name of the model this field belongs to |
| `model_id` | `varchar2` |  | [ ] |  | The model this field belongs to |
| `model_id_label` | `varchar2` |  | [ ] |  | The model this field belongs to |
| `modules` | `varchar2` | In Apps | [ ] |  | List of modules in which the field is defined |
| `name` | `varchar2` | Nome del campo | [x] |  |  |
| `on_delete` | `varchar2` | On Delete | [ ] |  | On delete property for many2one fields |
| `readonly` | `boolean` | Readonly | [ ] |  |  |
| `related` | `varchar2` | Related Field | [ ] |  | The corresponding related field, if any.This must be a dot-separated list of field names. |
| `related_field_id` | `varchar2` |  | [ ] |  |  |
| `related_field_id_label` | `varchar2` |  | [ ] |  |  |
| `relation` | `varchar2` | Related Model | [ ] |  | For relationship fields, the technical name of the target model |
| `relation_field` | `varchar2` | Relation Field | [ ] |  | For one2many fields, the field on the target model that implement the opposite many2one relationship |
| `relation_field_id` | `varchar2` |  | [ ] |  |  |
| `relation_field_id_label` | `varchar2` |  | [ ] |  |  |
| `relation_table` | `varchar2` | Relation Table | [ ] |  | Used for custom many2many fields to define a custom relation table name |
| `required` | `boolean` | Required | [ ] |  |  |
| `selectable` | `boolean` | Selectable | [ ] |  |  |
| `selection` | `varchar2` | Selection Options (Deprecated) | [ ] |  |  |
| `selection_ids` | `varchar2` |  | [ ] |  |  |
| `size` | `int32` | Size | [ ] |  |  |
| `state` | `varchar2` | Type | [x] |  |  |
| `store` | `boolean` | Stored | [ ] |  | Whether the value is stored in the database. |
| `tracking` | `int32` | Enable Ordered Tracking | [ ] |  | If set every modification done to this field is tracked in the chatter.Value is used to order tracking values. |
| `translate` | `boolean` | Translatable | [ ] |  | Whether values for this field can be translated (enables the translation mechanism for that field) |
| `ttype` | `varchar2` | Tipo di campo | [x] |  |  |
| `website_form_blacklisted` | `boolean` | Blacklisted in web forms | [ ] |  | Blacklist this field for web forms |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Odoo](/it/release-notes/drivers?driver=odoo)
