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

# post: Odoo itgen_odoo_post

`read only` `per partition`

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

Social Post

Can only retrieve data.

## Summary

A social.post represents a post that will be published on multiple social.accounts at once.
    It doesn't do anything on its own except storing the global post configuration (message, images, ...).

    This model inherits from `social.post.template` which contains the common part of both
    (all fields related to the post content like the message, the images...). So we do not
    duplicate the code by inheriting from it. We can generate a `social.post` from a
    `social.post.template` with `action_generate_post`.

    When posted, it actually creates several instances of social.live.posts (one per social.account)
    that will publish their content through the third party API of the social.account.

## Table Columns

The columns of the table `post` 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_allowed_ids` | `varchar2` |  | [ ] |  | List of the accounts which can be selected for this post. |
| `account_ids` | `varchar2` |  | [ ] |  | The accounts on which this post will be published. |
| `activity_calendar_event_id` | `varchar2` |  | [ ] |  |  |
| `activity_calendar_event_id_label` | `varchar2` |  | [ ] |  |  |
| `activity_date_deadline` | `datetime` | Next Activity Deadline | [ ] |  |  |
| `activity_exception_decoration` | `varchar2` | Activity Exception Decoration | [ ] |  | Type of the exception activity on record. |
| `activity_exception_icon` | `varchar2` | Icon | [ ] |  | Icon to indicate an exception activity. |
| `activity_ids` | `varchar2` |  | [ ] |  |  |
| `activity_state` | `varchar2` | Activity State | [ ] |  | Status based on activities Overdue: Due date is already passed Today: Activity date is today Planned: Future activities. |
| `activity_summary` | `varchar2` | Next Activity Summary | [ ] |  |  |
| `activity_type_icon` | `varchar2` | Activity Type Icon | [ ] |  | Font awesome icon e.g. fa-tasks |
| `activity_type_id` | `varchar2` |  | [ ] |  |  |
| `activity_type_id_label` | `varchar2` |  | [ ] |  |  |
| `activity_user_id` | `varchar2` |  | [ ] |  |  |
| `activity_user_id_label` | `varchar2` |  | [ ] |  |  |
| `calendar_date` | `datetime` | Calendar Date | [ ] |  |  |
| `click_count` | `int32` | Number of clicks | [ ] |  |  |
| `company_id` | `varchar2` |  | [ ] |  |  |
| `company_id_label` | `varchar2` |  | [ ] |  |  |
| `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 | [ ] |  |  |
| `engagement` | `int32` | Engagement | [ ] |  | Number of people engagements with the post (Likes, comments...) |
| `facebook_preview` | `varchar2` | Facebook Preview | [ ] |  |  |
| `has_active_accounts` | `boolean` | Are Accounts Available? | [ ] |  |  |
| `has_message` | `boolean` | Has Message | [ ] |  |  |
| `has_post_errors` | `boolean` | There are post errors on sub-posts | [ ] |  |  |
| `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_hatched` | `boolean` | Hatched | [ ] |  |  |
| `is_twitter_post_limit_exceed` | `boolean` | Is Twitter Post Limit Exceed | [ ] |  |  |
| `leads_opportunities_count` | `int32` | Leads / Opportunities count | [ ] |  |  |
| `linkedin_preview` | `varchar2` | LinkedIn Preview | [ ] |  |  |
| `live_post_ids` | `varchar2` |  | [ ] |  | Sub-posts that will be published on each selected social accounts. |
| `live_posts_by_media` | `varchar2` | Live Posts by Social Media | [ ] |  | Special technical field that holds a dict containing the live posts names by media ids (used for kanban view). |
| `media_ids` | `varchar2` |  | [ ] |  | The social medias linked to the selected social accounts. |
| `message` | `varchar2` | Message | [ ] |  |  |
| `message_attachment_count` | `int32` | Attachment Count | [ ] |  |  |
| `message_follower_ids` | `varchar2` |  | [ ] |  |  |
| `message_has_error` | `boolean` | Message Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_has_error_counter` | `int32` | Number of errors | [ ] |  | Number of messages with delivery error |
| `message_has_sms_error` | `boolean` | SMS Delivery error | [ ] |  | If checked, some messages have a delivery error. |
| `message_ids` | `varchar2` |  | [ ] |  |  |
| `message_is_follower` | `boolean` | Is Follower | [ ] |  |  |
| `message_length` | `int32` | Message Length | [ ] |  |  |
| `message_main_attachment_id` | `varchar2` |  | [ ] |  |  |
| `message_main_attachment_id_label` | `varchar2` |  | [ ] |  |  |
| `message_needaction` | `boolean` | Action Needed | [ ] |  | If checked, new messages require your attention. |
| `message_needaction_counter` | `int32` | Number of Actions | [ ] |  | Number of messages which requires an action |
| `message_partner_ids` | `varchar2` |  | [ ] |  |  |
| `my_activity_date_deadline` | `datetime` | My Activity Deadline | [ ] |  |  |
| `name` | `varchar2` | Name | [ ] |  |  |
| `post_method` | `varchar2` | When | [x] |  | Publish your post immediately or schedule it at a later time. |
| `published_date` | `datetime` | Published Date | [ ] |  | When the global post was published. The actual sub-posts published dates may be different depending on the media. |
| `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 | [ ] |  |  |
| `sale_invoiced_amount` | `int32` | Invoiced Amount | [ ] |  |  |
| `sale_quotation_count` | `int32` | Quotation Count | [ ] |  |  |
| `scheduled_date` | `datetime` | Scheduled Date | [ ] |  |  |
| `source_id` | `varchar2` |  | [ ] |  |  |
| `source_id_label` | `varchar2` |  | [ ] |  |  |
| `state` | `varchar2` | Status | [x] |  | The post is considered as 'Posted' when all its sub-posts (one per social account) are either 'Failed' or 'Posted' |
| `stream_posts_count` | `int32` | Feed Posts Count | [ ] |  |  |
| `twitter_post_limit_message` | `varchar2` | Twitter Post Limit Message | [ ] |  |  |
| `twitter_preview` | `varchar2` | Twitter Preview | [ ] |  |  |
| `use_leads` | `boolean` | Use Leads | [ ] |  |  |
| `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. |
| `utm_campaign_id` | `varchar2` |  | [ ] |  |  |
| `utm_campaign_id_label` | `varchar2` |  | [ ] |  |  |
| `visitor_domain` | `varchar2` | Visitor Domain | [ ] |  | Domain to send push notifications to visitors. |
| `website_message_ids` | `varchar2` |  | [ ] |  | Website communication history |
| `write_date` | `datetime` | Last Updated on | [ ] |  |  |
| `write_uid` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |
| `youtube_access_token` | `varchar2` | YouTube Access Token | [ ] |  |  |
| `youtube_accounts_count` | `int32` | Selected YouTube Accounts | [ ] |  |  |
| `youtube_accounts_other_count` | `int32` | Selected Other Accounts | [ ] |  |  |
| `youtube_description` | `varchar2` | YouTube Video Description | [ ] |  |  |
| `youtube_preview` | `varchar2` | YouTube Preview | [ ] |  |  |
| `youtube_thumbnail_url` | `varchar2` | YouTube Thumbnail Url | [ ] |  |  |
| `youtube_title` | `varchar2` | YouTube Video Title | [ ] |  |  |
| `youtube_video` | `varchar2` | YouTube Video | [ ] |  | Simply holds the filename of the video as the video itself is uploaded directly to YouTube |
| `youtube_video_category_id` | `varchar2` | YouTube Category Id | [ ] |  | Contains the ID of the video category as returned by the YouTube API |
| `youtube_video_id` | `varchar2` | YouTube Video Id | [ ] |  | Contains the ID of the video as returned by the YouTube API |
| `youtube_video_privacy` | `varchar2` | Video Privacy | [x] |  | Once posted, set the video as Public/Private/Unlisted |
| `youtube_video_url` | `varchar2` | YouTube Video Url | [ ] |  |  |



## Release Notes

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

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

