Please enable JavaScript to view this site.

Made in EU
Odoo Forums

Navigation: Schema: social > Tables

account

Social Account

Catalog: Odoo

Schema: social

Documentation:

A social.account represents an actual account on the related social.media.

Ex: A Facebook Page or a Twitter Account.

 

These social.accounts will then be used to send generic social.posts to multiple social.accounts.

They are also used to display a 'dashboard' of statistics on the 'Feed' view.

 

Account statistic fields are 'computed' manually through the _compute_statistics method

that is overridden by each actual social module implementations (social_facebook, social_twitter, ...).

The statistics computation is run manually when visualizing the Feed.

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 account are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

active

boolean

Active

 

audience_trend

decimal

Audience Trend

Percentage of increase/decrease of the audience over a defined period.

audience

int32

Audience

General audience of the Social Account (Page Likes, Account Follows, ...).

company_id_label

string

 

Link an account to a company to restrict its usage or keep empty to let all companies use it.

company_id

string

 

Link an account to a company to restrict its usage or keep empty to let all companies use it.

create_date

datetime

Created on

 

create_uid_label

string

 

 

create_uid

string

 

 

display_name

string

Display Name

 

engagement_trend

decimal

Engagement Trend

Percentage of increase/decrease of the engagement over a defined period.

engagement

int32

Engagement

Number of people engagements with your posts (Likes, Comments, ...).

facebook_access_token

string

Facebook Access Token

Facebook Page Access Token provided by the Facebook API, this should never be set manually.It's used to authenticate requests when posting to or reading information from this account.

facebook_account_id

string

Facebook Account ID

Facebook Page ID provided by the Facebook API, this should never be set manually.

firebase_admin_key_file

byte[]

Firebase Admin Key File

 

firebase_project_id

string

Firebase Project ID

 

firebase_push_certificate_key

string

Firebase Push Certificate Key

 

firebase_sender_id

string

Firebase Sender ID

 

firebase_use_own_account

boolean

Use your own Firebase account

 

firebase_web_api_key

string

Firebase Web API Key

 

has_account_stats

boolean

Has Account Stats

Defines whether this account has Audience/Engagements/Stories stats.Account with stats are displayed on the dashboard.

has_trends

boolean

Has Trends?

Defines whether this account has statistics tends or not.

id

int32

ID

 

image

byte[]

Image

 

instagram_access_token

string

Instagram Access Token

Instagram Access Token provided by the Facebook API, this should never be set manually.It's used to authenticate requests when posting to or reading information from this account.

instagram_account_id

string

Instagram Account ID

Instagram Account ID provided by the Facebook API, this should never be set manually.

instagram_facebook_account_id

string

Instagram Facebook Account ID

Facebook Account ID provided by the Facebook API, this should never be set manually.The Instagram ("Professional") account is always linked to a Facebook account.

is_media_disconnected

boolean

Link with external Social Media is broken

 

linkedin_access_token

string

LinkedIn access token

The access token is used to perform request to the REST API

linkedin_account_id

string

LinkedIn Account ID

 

linkedin_account_urn

string

LinkedIn Account URN

LinkedIn Account URN

media_id_label

string

 

Related Social Media (Facebook, Twitter, ...).

media_id

string

 

Related Social Media (Facebook, Twitter, ...).

media_type

string

Media Type

Used to make comparisons when we need to restrict some features to a specific media ('facebook', 'twitter', ...).

name

string

Name

 

notification_request_body

string

Notification Request Text

 

notification_request_delay

int32

Notification Request Delay (seconds)

 

notification_request_icon

byte[]

Notification Request Icon

 

notification_request_title

string

Notification Request Title

 

social_account_handle

string

Handle / Short Name

Contains the social media handle of the person that created this account. E.g: '@odoo.official' for the 'Odoo' Twitter account

stats_link

string

Stats Link

Link to the external Social Account statistics

stories_trend

decimal

Stories Trend

Percentage of increase/decrease of the stories over a defined period.

stories

int32

Stories

Number of stories created from your posts (Shares, Re-tweets, ...).

twitter_oauth_token_secret

string

Twitter OAuth Token Secret

 

twitter_oauth_token

string

Twitter OAuth Token

 

twitter_user_id

string

Twitter User ID

 

utm_medium_id_label

string

 

Every time an account is created, a utm.medium is also created and linked to the account

utm_medium_id

string

 

Every time an account is created, a utm.medium is also created and linked to the account

website_id_label

string

 

This firebase configuration will only be used for the specified website

website_id

string

 

This firebase configuration will only be used for the specified website

write_date

datetime

Last Updated on

 

write_uid_label

string

 

 

write_uid

string

 

 

youtube_access_token

string

Google Access Token

Access token provided by the YouTube API, this should never be set manually.

youtube_channel_id

string

YouTube Channel ID

YouTube Channel ID provided by the YouTube API, this should never be set manually.

youtube_refresh_token

string

Google Refresh Token

Refresh token provided by the YouTube API, this should never be set manually.

youtube_token_expiration_date

datetime

Token expiration date

Expiration date of the Access Token provided by the YouTube API, this should never be set manually.

youtube_upload_playlist_id

string

YouTube Upload Playlist ID

'Uploads' Playlist ID provided by the YouTube API, this should never be set manually.

 

01-03-2023 15:29 Version 22.1.135-BETA+3826

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer