post |
Social Post
Catalog: Odoo
Schema: social
Documentation:
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.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table post are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
account_allowed_ids |
string |
|
☐ |
List of the accounts which can be selected for this post. |
account_ids |
string |
|
☐ |
The accounts on which this post will be published. |
activity_calendar_event_id_label |
string |
|
☐ |
|
activity_calendar_event_id |
string |
|
☐ |
|
activity_date_deadline |
datetime |
Next Activity Deadline |
☐ |
|
activity_exception_decoration |
string |
Activity Exception Decoration |
☐ |
Type of the exception activity on record. |
activity_exception_icon |
string |
Icon |
☐ |
Icon to indicate an exception activity. |
activity_ids |
string |
|
☐ |
|
activity_state |
string |
Activity State |
☐ |
Status based on activitiesOverdue: Due date is already passedToday: Activity date is todayPlanned: Future activities. |
activity_summary |
string |
Next Activity Summary |
☐ |
|
activity_type_icon |
string |
Activity Type Icon |
☐ |
Font awesome icon e.g. fa-tasks |
activity_type_id_label |
string |
|
☐ |
|
activity_type_id |
string |
|
☐ |
|
activity_user_id_label |
string |
|
☐ |
|
activity_user_id |
string |
|
☐ |
|
calendar_date |
datetime |
Calendar Date |
☐ |
|
click_count |
int32 |
Number of clicks |
☐ |
|
company_id_label |
string |
|
☐ |
|
company_id |
string |
|
☐ |
|
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_facebook_preview |
boolean |
Display Facebook Preview |
☐ |
|
display_instagram_preview |
boolean |
Display Instagram Preview |
☐ |
|
display_linkedin_preview |
boolean |
Display LinkedIn Preview |
☐ |
|
display_name |
string |
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 |
string |
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 |
string |
|
☐ |
Will attach images to your posts (if the social media supports it). |
image_urls |
string |
Images URLs |
☐ |
|
instagram_access_token |
string |
Access Token |
☐ |
Used to allow access to Instagram to retrieve the post image |
instagram_image_id_label |
string |
|
☐ |
|
instagram_image_id |
string |
|
☐ |
|
instagram_preview |
string |
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 |
string |
LinkedIn Preview |
☐ |
|
live_post_ids |
string |
|
☐ |
Sub-posts that will be published on each selected social accounts. |
live_posts_by_media |
string |
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 |
string |
|
☐ |
The social medias linked to the selected social accounts. |
message_attachment_count |
int32 |
Attachment Count |
☐ |
|
message_follower_ids |
string |
|
☐ |
|
message_has_error_counter |
int32 |
Number of errors |
☐ |
Number of messages with delivery error |
message_has_error |
boolean |
Message Delivery error |
☐ |
If checked, some messages have a delivery error. |
message_has_sms_error |
boolean |
SMS Delivery error |
☐ |
If checked, some messages have a delivery error. |
message_ids |
string |
|
☐ |
|
message_is_follower |
boolean |
Is Follower |
☐ |
|
message_length |
int32 |
Message Length |
☐ |
|
message_main_attachment_id_label |
string |
|
☐ |
|
message_main_attachment_id |
string |
|
☐ |
|
message_needaction_counter |
int32 |
Number of Actions |
☐ |
Number of messages which requires an action |
message_needaction |
boolean |
Action Needed |
☐ |
If checked, new messages require your attention. |
message_partner_ids |
string |
|
☐ |
|
message |
string |
Message |
☐ |
|
my_activity_date_deadline |
datetime |
My Activity Deadline |
☐ |
|
name |
string |
Name |
☐ |
|
post_method |
string |
When |
☑ |
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 |
byte[] |
Push Icon Image |
☐ |
This icon will be displayed in the browser notification |
push_notification_target_url |
string |
Push Target URL |
☐ |
|
push_notification_title |
string |
Push Notification Title |
☐ |
|
push_notifications_preview |
string |
Push Notifications Preview |
☐ |
|
sale_invoiced_amount |
int32 |
Invoiced Amount |
☐ |
|
sale_quotation_count |
int32 |
Quotation Count |
☐ |
|
scheduled_date |
datetime |
Scheduled Date |
☐ |
|
source_id_label |
string |
|
☐ |
|
source_id |
string |
|
☐ |
|
state |
string |
Status |
☑ |
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 |
string |
Twitter Post Limit Message |
☐ |
|
twitter_preview |
string |
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_label |
string |
|
☐ |
|
utm_campaign_id |
string |
|
☐ |
|
visitor_domain |
string |
Visitor Domain |
☐ |
Domain to send push notifications to visitors. |
website_message_ids |
string |
|
☐ |
Website communication history |
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
youtube_access_token |
string |
YouTube Access Token |
☐ |
|
youtube_accounts_count |
int32 |
Selected YouTube Accounts |
☐ |
|
youtube_accounts_other_count |
int32 |
Selected Other Accounts |
☐ |
|
youtube_description |
string |
YouTube Video Description |
☐ |
|
youtube_preview |
string |
YouTube Preview |
☐ |
|
youtube_thumbnail_url |
string |
YouTube Thumbnail Url |
☐ |
|
youtube_title |
string |
YouTube Video Title |
☐ |
|
youtube_video_category_id |
string |
YouTube Category Id |
☐ |
Contains the ID of the video category as returned by the YouTube API |
youtube_video_id |
string |
YouTube Video Id |
☐ |
Contains the ID of the video as returned by the YouTube API |
youtube_video_privacy |
string |
Video Privacy |
☑ |
Once posted, set the video as Public/Private/Unlisted |
youtube_video_url |
string |
YouTube Video Url |
☐ |
|
youtube_video |
string |
YouTube Video |
☐ |
Simply holds the filename of the video as the video itself is uploaded directly to YouTube |
01-03-2023 15:29 Version 22.1.135-BETA+3826