model |
Models
Catalog: Odoo
Schema: ir
Documentation:
Mixin that overrides the create and write methods to properly generate
ir.model.data entries flagged with Studio for the corresponding resources.
Doesn't create an ir.model.data if the record is part of a module being
currently installed as the ir.model.data will be created automatically
afterwards.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table model are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
abstract |
boolean |
Abstract |
☐ |
Whether this model is abstract |
access_ids |
string |
|
☐ |
|
count |
int32 |
Count (Incl. Archived) |
☐ |
Total number of records in this model |
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
field_id |
string |
|
☐ |
|
hide_merge_action |
boolean |
Hide merge action button |
☐ |
If the model already has a custom merge method, the class attribute `_merge_disabled` is set to true onthat model and the generic data merge action should not be available on that model. |
id |
int32 |
ID |
☐ |
|
info |
string |
Information |
☐ |
|
inherited_model_ids |
string |
|
☐ |
The list of models that extends the current model. |
is_mail_activity |
boolean |
Has Mail Activity |
☐ |
|
is_mail_blacklist |
boolean |
Has Mail Blacklist |
☐ |
|
is_mail_thread_sms |
boolean |
Mail Thread SMS |
☐ |
Whether this model supports messages and notifications through SMS |
is_mail_thread |
boolean |
Has Mail Thread |
☐ |
|
is_mailing_enabled |
boolean |
Mailing Enabled |
☐ |
Whether this model supports marketing mailing capabilities (notably email and SMS). |
is_merge_enabled |
boolean |
Can Be Merged |
☐ |
If True, the generic data merge tool is available in the contextual menu of this model. |
model |
string |
Model |
☑ |
|
modules |
string |
In Apps |
☐ |
List of modules in which the object is defined or inherited |
name |
string |
Model Description |
☑ |
|
order |
string |
Order |
☑ |
SQL expression for ordering records in the model; e.g. "x_sequence asc, id desc" |
ref_merge_ir_act_server_id_label |
string |
|
☐ |
Contextual menu action that redirects to the deduplicate view of data_merge. |
ref_merge_ir_act_server_id |
string |
|
☐ |
Contextual menu action that redirects to the deduplicate view of data_merge. |
rule_ids |
string |
|
☐ |
|
state |
string |
Type |
☐ |
|
transient |
boolean |
Transient Model |
☐ |
|
view_ids |
string |
|
☐ |
|
website_form_access |
boolean |
Allowed to use in forms |
☐ |
Enable the form builder feature for this model. |
website_form_default_field_id_label |
string |
|
☐ |
Specify the field which will contain meta and custom form fields datas. |
website_form_default_field_id |
string |
|
☐ |
Specify the field which will contain meta and custom form fields datas. |
website_form_key |
string |
Website Form Key |
☐ |
Used in FormBuilder Registry |
website_form_label |
string |
Label for form action |
☐ |
Form action label. Ex: crm.lead could be 'Send an e-mail' and project.issue could be 'Create an Issue'. |
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826