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

# post_template: Odoo itgen_odoo_post_template

`read only` `per partition`

- Catalog: `Odoo`
- Schema: `social`
- Label: itgen_odoo_post_template

Social Post Template

Can only retrieve data.

## Summary

Models the abstraction of social post content.
    It can generate multiple 'social.post' records to be sent on social medias

    This model contains all information related to the post content (message, images) but
    also some common methods. They can be used to prepare a social post without creating
    one (that can be useful in other application, like `social_event` e.g.).

    'social.post.template' is therefore a template model used to generate `social.post`.
    It is inherited by `social.post` to extract common fields declaration and post
    management methods.

## Table Columns

The columns of the table `post_template` 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 |
|---|---|---|:---:|---|---|
| `account_ids` | `varchar2` |  | [ ] |  | The accounts on which this post will be published. |
| `create_date` | `datetime` | Created on | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_facebook_preview` | `boolean` | Display Facebook Preview | [ ] |  |  |
| `display_instagram_preview` | `boolean` | Display Instagram Preview | [ ] |  |  |
| `display_linkedin_preview` | `boolean` | Display LinkedIn Preview | [ ] |  |  |
| `display_name` | `varchar2` | Display Name | [ ] |  |  |
| `display_push_notification_attributes` | `boolean` | Display Push Notifications Attributes | [ ] |  |  |
| `display_push_notifications_preview` | `boolean` | Display Push Notifications Preview | [ ] |  |  |
| `facebook_preview` | `varchar2` | Facebook Preview | [ ] |  |  |
| `has_active_accounts` | `boolean` | Are Accounts Available? | [ ] |  |  |
| `has_twitter_accounts` | `boolean` | Display Twitter Preview | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `image_ids` | `varchar2` |  | [ ] |  | Will attach images to your posts (if the social media supports it). |
| `image_urls` | `varchar2` | Images URLs | [ ] |  |  |
| `instagram_access_token` | `varchar2` | Access Token | [ ] |  | Used to allow access to Instagram to retrieve the post image |
| `instagram_image_id` | `varchar2` |  | [ ] |  |  |
| `instagram_image_id_label` | `varchar2` |  | [ ] |  |  |
| `instagram_preview` | `varchar2` | Instagram Preview | [ ] |  |  |
| `is_twitter_post_limit_exceed` | `boolean` | Is Twitter Post Limit Exceed | [ ] |  |  |
| `linkedin_preview` | `varchar2` | LinkedIn Preview | [ ] |  |  |
| `message` | `varchar2` | Message | [ ] |  |  |
| `message_length` | `int32` | Message Length | [ ] |  |  |
| `push_notification_image` | `varbinary` | Push Icon Image | [ ] |  | This icon will be displayed in the browser notification |
| `push_notification_target_url` | `varchar2` | Push Target URL | [ ] |  |  |
| `push_notification_title` | `varchar2` | Push Notification Title | [ ] |  |  |
| `push_notifications_preview` | `varchar2` | Push Notifications Preview | [ ] |  |  |
| `twitter_post_limit_message` | `varchar2` | Twitter Post Limit Message | [ ] |  |  |
| `twitter_preview` | `varchar2` | Twitter Preview | [ ] |  |  |
| `use_visitor_timezone` | `boolean` | Send at Visitors' Timezone | [ ] |  | e.g: If you post at 15:00 your time, all visitors will receive the post at 15:00 their time. |
| `visitor_domain` | `varchar2` | Visitor Domain | [ ] |  | Domain to send push notifications to visitors. |
| `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)

