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

# default: Odoo itgen_odoo_default

`read only` `per partition`

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

Default Values

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 `default` 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 |
|---|---|---|:---:|---|---|
| `company_id` | `varchar2` |  | [ ] |  | If set, action binding only applies for this company |
| `company_id_label` | `varchar2` |  | [ ] |  | If set, action binding only applies for this company |
| `condition` | `varchar2` | Condition | [ ] |  | If set, applies the default upon condition. |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `field_id` | `varchar2` |  | [ ] |  |  |
| `field_id_label` | `varchar2` |  | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `json_value` | `varchar2` | Default Value (JSON format) | [x] |  |  |
| `user_id` | `varchar2` |  | [ ] |  | If set, action binding only applies for this user. |
| `user_id_label` | `varchar2` |  | [ ] |  | If set, action binding only applies for this user. |
| `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)

