---
title: "model (Odoo)"
description: "itgen_odoo_model"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.ir.model
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.ir.model
updated: 2023-03-01T15:29:04Z
license: https://documentation.invantive.eu/en/
---

# model: Odoo itgen_odoo_model

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `ir`
- Label: itgen_odoo_model

Models

Can only retrieve data.

## Summary

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.

## Table Columns

The columns of the table `model` 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 |
|---|---|---|:---:|---|---|
| `abstract` | `boolean` | Abstract | [ ] |  | Whether this model is abstract |
| `access_ids` | `varchar2` |  | [ ] |  |  |
| `count` | `int32` | Count (Incl. Archived) | [ ] |  | Total number of records in this model |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `field_id` | `varchar2` |  | [ ] |  |  |
| `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 on              that model and the generic data merge action should not be available on that model. |
| `id` | `int32` | ID | [ ] |  |  |
| `info` | `varchar2` | Information | [ ] |  |  |
| `inherited_model_ids` | `varchar2` |  | [ ] |  | 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` | `boolean` | Has Mail Thread | [ ] |  |  |
| `is_mail_thread_sms` | `boolean` | Mail Thread SMS | [ ] |  | Whether this model supports messages and notifications through SMS |
| `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` | `varchar2` | Model | [x] |  |  |
| `modules` | `varchar2` | In Apps | [ ] |  | List of modules in which the object is defined or inherited |
| `name` | `varchar2` | Model Description | [x] |  |  |
| `order` | `varchar2` | Order | [x] |  | SQL expression for ordering records in the model; e.g. "x_sequence asc, id desc" |
| `ref_merge_ir_act_server_id` | `varchar2` |  | [ ] |  | Contextual menu action that redirects to the deduplicate view of data_merge. |
| `ref_merge_ir_act_server_id_label` | `varchar2` |  | [ ] |  | Contextual menu action that redirects to the deduplicate view of data_merge. |
| `rule_ids` | `varchar2` |  | [ ] |  |  |
| `state` | `varchar2` | Type | [ ] |  |  |
| `transient` | `boolean` | Transient Model | [ ] |  |  |
| `view_ids` | `varchar2` |  | [ ] |  |  |
| `website_form_access` | `boolean` | Allowed to use in forms | [ ] |  | Enable the form builder feature for this model. |
| `website_form_default_field_id` | `varchar2` |  | [ ] |  | Specify the field which will contain meta and custom form fields datas. |
| `website_form_default_field_id_label` | `varchar2` |  | [ ] |  | Specify the field which will contain meta and custom form fields datas. |
| `website_form_key` | `varchar2` | Website Form Key | [ ] |  | Used in FormBuilder Registry |
| `website_form_label` | `varchar2` | 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` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

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

