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

# template_preview: Odoo itgen_odoo_template_preview

`read only` `per partition`

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

Email Template Preview

Can only retrieve data.

## Table Columns

The columns of the table `template_preview` 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 |
|---|---|---|:---:|---|---|
| `attachment_ids` | `varchar2` |  | [ ] |  |  |
| `body_html` | `varchar2` | Body | [ ] |  |  |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `email_cc` | `varchar2` | Cc | [ ] |  | Carbon copy recipients |
| `email_from` | `varchar2` | From | [ ] |  | Sender address |
| `email_to` | `varchar2` | To | [ ] |  | Comma-separated recipient addresses |
| `error_msg` | `varchar2` | Error Message | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `lang` | `varchar2` | Template Preview Language | [ ] |  |  |
| `mail_template_id` | `varchar2` |  | [ ] |  |  |
| `mail_template_id_label` | `varchar2` |  | [ ] |  |  |
| `model_id` | `varchar2` |  | [ ] |  |  |
| `model_id_label` | `varchar2` |  | [ ] |  |  |
| `no_record` | `boolean` | No Record | [ ] |  |  |
| `partner_ids` | `varchar2` |  | [ ] |  |  |
| `reply_to` | `varchar2` | Reply-To | [ ] |  | Preferred response address |
| `resource_ref` | `varchar2` | Record | [ ] |  |  |
| `scheduled_date` | `varchar2` | Scheduled Date | [ ] |  | The queue manager will send the email after the date |
| `subject` | `varchar2` | Subject | [ ] |  |  |
| `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)

