model_fields: Odoo itgen_odoo_model_fields
read only per partition
- Catalog:
Odoo - Schema:
ir - Label: itgen_odoo_model_fields
Fields
Can only retrieve data.
Summary
fields configuration for form builder
Table Columns
The columns of the table model_fields are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
column1 |
varchar2 |
Column 1 | Column referring to the record in the model table | ||
column2 |
varchar2 |
Column 2 | Column referring to the record in the comodel table | ||
complete_ |
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_ |
datetime |
Created on | |||
create_ |
varchar2 |
||||
create_ |
varchar2 |
||||
depends |
varchar2 |
Dependencies | Dependencies of compute method; a list of comma-separated field names, like name, partner_id.name | ||
display_ |
varchar2 |
Display Name | |||
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_ |
varchar2 |
Field Label | |||
group_ |
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 |
Model Name | The technical name of the model this field belongs to | ||
model_ |
varchar2 |
The model this field belongs to | |||
model_ |
varchar2 |
The model this field belongs to | |||
modules |
varchar2 |
In Apps | List of modules in which the field is defined | ||
name |
varchar2 |
Field Name | |||
on_ |
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_ |
varchar2 |
||||
related_ |
varchar2 |
||||
relation |
varchar2 |
Related Model | For relationship fields, the technical name of the target model | ||
relation_ |
varchar2 |
Relation Field | For one2many fields, the field on the target model that implement the opposite many2one relationship | ||
relation_ |
varchar2 |
||||
relation_ |
varchar2 |
||||
relation_ |
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_ |
varchar2 |
||||
size |
int32 |
Size | |||
state |
varchar2 |
Type | |||
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 |
Field Type | |||
website_ |
boolean |
Blacklisted in web forms | Blacklist this field for web forms | ||
write_ |
datetime |
Last Updated on | |||
write_ |
varchar2 |
||||
write_ |
varchar2 |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: