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

# message_subtype: Odoo itgen_odoo_message_subtype

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `mail`
- Label: itgen_odoo_message_subtype

Message subtypes

Can only retrieve data.

## Summary

Class holding subtype definition for messages. Subtypes allow to tune
        the follower subscription, allowing only some subtypes to be pushed
        on the Wall.

## Table Columns

The columns of the table `message_subtype` 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 |
|---|---|---|:---:|---|---|
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `default` | `boolean` | Default | [ ] |  | Activated by default when subscribing. |
| `description` | `varchar2` | Description | [ ] |  | Description that will be added in the message posted for this subtype. If void, the name will be added instead. |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `hidden` | `boolean` | Hidden | [ ] |  | Hide the subtype in the follower options |
| `id` | `int32` | ID | [ ] |  |  |
| `internal` | `boolean` | Internal Only | [ ] |  | Messages with internal subtypes will be visible only by employees, aka members of base_user group |
| `name` | `varchar2` | Message Type | [x] |  | Message subtype gives a more precise type on the message, especially for system notifications. For example, it can be a notification related to a new record (New), or to a stage change in a process (Stage change). Message subtypes allow to precisely tune the notifications the user want to receive on its wall. |
| `parent_id` | `varchar2` |  | [ ] |  | Parent subtype, used for automatic subscription. This field is not correctly named. For example on a project, the parent_id of project subtypes refers to task-related subtypes. |
| `parent_id_label` | `varchar2` |  | [ ] |  | Parent subtype, used for automatic subscription. This field is not correctly named. For example on a project, the parent_id of project subtypes refers to task-related subtypes. |
| `relation_field` | `varchar2` | Relation field | [ ] |  | Field used to link the related model to the subtype model when using automatic subscription on a related document. The field is used to compute getattr(related_document.relation_field). |
| `res_model` | `varchar2` | Model | [ ] |  | Model the subtype applies to. If False, this subtype applies to all models. |
| `sequence` | `int32` | Sequence | [ ] |  | Used to order subtypes. |
| `track_recipients` | `boolean` | Track Recipients | [ ] |  | Whether to display all the recipients or only the important ones. |
| `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)

