Odoo 19.0 Community · Persistent

forum.post: fields, relations and API

The forum.post model ("Forum Post") is a persistent model declared by the Forum module. It exposes 78 fields, 58 of them declared directly on the model; 4 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.

Model identity

Technical name
forum.post
Label
Forum Post
Type
Persistent (models.Model)
SQL table
forum_post
Origin module
Forum (website_forum)
Default order (_order)
is_correct DESC, vote_count DESC, last_activity_date DESC
Inherits from (mixins)
mail.threadwebsite.seo.metadatawebsite.searchable.mixin

Model fields

58 own fields, 18 inherited from mixins and 2 automatic ORM fields. Click a name to get a direct link to that field.

78 of 78 fields shown

Technical nameLabelTypeDetails
activeActiveboolean
can_acceptCan Acceptboolean
computed
can_answerCan Answerboolean
computed
can_askCan Askboolean
computed
can_closeCan Closeboolean
computed
can_commentCan Commentboolean
computed
can_comment_convertCan Convert to Commentboolean
computed
can_display_biographyIs the author's biography visible from his postboolean
computed
can_downvoteCan Downvoteboolean
computed
can_editCan Editboolean
computed
can_flagCan Flagboolean
computed
can_moderateCan Moderateboolean
computed
can_postCan Automatically be Validatedboolean
computed
can_upvoteCan Upvoteboolean
computed
can_use_full_editorCan Use Full Editorboolean
computed
can_viewCan Viewboolean
computed
child_countAnswersinteger
computed, stored
child_idsPost Answersone2many

inverse: parent_id

closed_dateClosed ondatetime
read-only
closed_reason_idReasonmany2one
closed_uidClosed bymany2one
read-only
contentContenthtml
create_dateAsked ondatetime
read-only
create_uidCreated bymany2one
read-only
favourite_countFavoriteinteger
computed, stored
favourite_idsFavouritemany2many
flag_user_idFlagged bymany2one
forum_idForummany2one
required
has_validated_answerIs answeredboolean
computed, stored
is_correctCorrect

Correct answer or answer accepted

boolean
karma_acceptConvert comment to answerinteger
computed
karma_closeKarma to closeinteger
computed
karma_commentKarma to commentinteger
computed
karma_comment_convertKarma to convert comment to answerinteger
computed
karma_editKarma to editinteger
computed
karma_flagFlag a post as offensiveinteger
computed
last_activity_dateLast activity on

Field to keep track of a post's last activity. Updated whenever it is replied to, or when a comment is added on the post or one of its replies.

datetime
requiredread-only
moderator_idReviewed bymany2one
read-only
nameTitlechar
parent_idQuestionmany2one
read-only
plain_contentPlain Contenttext
computed, stored
relevancyRelevancefloat
computed, stored
self_replyReply to own questionboolean
computed, stored
stateStatusselection

Values: active (Active), pending (Waiting Validation), close (Closed), offensive (Offensive), flagged (Flagged)

tag_idsTagsmany2many
uid_has_answeredHas Answeredboolean
computed
user_favouriteIs Favouriteboolean
computed
user_voteMy Voteinteger
computed
viewsViewsinteger
read-only
vote_countTotal Votesinteger
computed, stored
vote_idsVotesone2many

inverse: post_id

website_idWebsitemany2one
read-only

related: forum_id.website_id

website_message_idsWebsite Messageone2many
website_urlWebsite URLchar
computed
write_dateUpdated ondatetime
read-only
write_uidUpdated bymany2one
read-only
has_messageHas Messageboolean
computed

inherited from mail.thread

is_seo_optimizedSEO optimizedboolean
computed, stored

inherited from website.seo.metadata

message_attachment_countAttachment Countinteger
computed

inherited from mail.thread

message_follower_idsFollowersone2many

inverse: res_id

inherited from mail.thread

message_has_errorMessage Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_has_error_counterNumber of errors

Number of messages with delivery error

integer
computed

inherited from mail.thread

message_has_sms_errorSMS Delivery error

If checked, some messages have a delivery error.

boolean
computed

inherited from mail.thread

message_idsMessagesone2many

inverse: res_id

inherited from mail.thread

message_is_followerIs Followerboolean
computed

inherited from mail.thread

message_needactionAction Needed

If checked, new messages require your attention.

boolean
computed

inherited from mail.thread

message_needaction_counterNumber of Actions

Number of messages requiring action

integer
computed

inherited from mail.thread

message_partner_idsFollowers (Partners)many2many
computed

inherited from mail.thread

rating_idsRatingsone2many

inverse: res_id

inherited from mail.thread

seo_nameSeo namechar
translatable

inherited from website.seo.metadata

website_meta_descriptionWebsite meta descriptiontext
translatable

inherited from website.seo.metadata

website_meta_keywordsWebsite meta keywordschar
translatable

inherited from website.seo.metadata

website_meta_og_imgWebsite opengraph imagechar

inherited from website.seo.metadata

website_meta_titleWebsite meta titlechar
translatable

inherited from website.seo.metadata

display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 19 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/forum.post/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","forum_id","last_activity_date","state","closed_reason_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/forum.post/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","forum_id","last_activity_date","state","closed_reason_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/forum-post">forum.post (Odoo 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.