Odoo 19.0 Community · Persistent

forum.forum: fields, relations and API

The forum.forum model ("Forum") is a persistent model declared by the Forum module, then extended by 1 other module. It exposes 94 fields, 64 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.forum
Label
Forum
Type
Persistent (models.Model)
SQL table
forum_forum
Origin module
Forum (website_forum)
Extended by
website_slides_forum
Default order (_order)
sequence, id
Inherits from (mixins)
mail.threadimage.mixinwebsite.seo.metadatawebsite.multi.mixinwebsite.searchable.mixin

Model fields

64 own fields, 24 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

94 of 94 fields shown

Technical nameLabelTypeDetails
activeActiveboolean
allow_shareSharing Options

After posting the user will be proposed to share its question or answer on social networks, enabling social network propagation of the forum content.

boolean
authorized_group_idAuthorized Groupmany2one
can_moderateIs a moderatorboolean
computed
count_flagged_postsNumber of flagged postsinteger
computed
count_posts_waiting_validationNumber of posts waiting for validationinteger
computed
default_orderDefaultselection
required

Values: create_date desc (Newest), last_activity_date desc (Last Updated), vote_count desc (Most Voted), relevancy desc (Relevance), child_count desc (Answered)

descriptionDescriptiontext
translatable
faqGuidelineshtml
has_pending_postHas pending postboolean
computed
image_1920Imageimage
computed, stored

added by Forum on Courses (website_slides_forum)

karma_answerAnswer questionsinteger
karma_answer_accept_allAccept an answer to all questionsinteger
karma_answer_accept_ownAccept an answer on own questionsinteger
karma_askAsk questionsinteger
karma_close_allClose all postsinteger
karma_close_ownClose own postsinteger
karma_comment_allComment all postsinteger
karma_comment_convert_allConvert all comments to answersinteger
karma_comment_convert_ownConvert own comments to answersinteger
karma_comment_ownComment own postsinteger
karma_dofollowNofollow links

If the author has not enough karma, a nofollow attribute is added to links

integer
karma_downvoteDownvoteinteger
karma_edit_allEdit all postsinteger
karma_edit_ownEdit own postsinteger
karma_edit_retagChange question tagsinteger
karma_editorEditor Features: image and linksinteger
karma_flagFlag a post as offensiveinteger
karma_gen_answer_acceptAccepting an answerinteger
karma_gen_answer_acceptedAnswer acceptedinteger
karma_gen_answer_downvoteAnswer downvotedinteger
karma_gen_answer_flaggedAnswer flaggedinteger
karma_gen_answer_upvoteAnswer upvotedinteger
karma_gen_question_downvoteQuestion downvotedinteger
karma_gen_question_newAsking a questioninteger
karma_gen_question_upvoteQuestion upvotedinteger
karma_moderateModerate postsinteger
karma_postAsk questions without validationinteger
karma_tag_createCreate new tagsinteger
karma_upvoteUpvoteinteger
karma_user_bioDisplay detailed user biographyinteger
last_post_idLast Postmany2one
computed
modeMode

Questions mode: only one answer allowed Discussions mode: multiple answers allowed

selection
required

Values: questions (Questions (1 answer)), discussions (Discussions (multiple answers))

nameForum Namechar
requiredtranslatable
post_idsPostsone2many

inverse: forum_id

privacyPrivacy

Public: Forum is public Signed In: Forum is visible for signed in users Some users: Forum and their content are hidden for non members of selected group

selection

Values: public (Public), connected (Signed In), private (Some users)

relevancy_post_voteFirst Relevance Parameter

This formula is used in order to sort by relevance. The variable 'votes' represents number of votes for a post, and 'days' is number of days since the post creation

float
relevancy_time_decaySecond Relevance Parameterfloat
sequenceSequenceinteger
slide_channel_idCoursemany2one
computed, stored

added by Forum on Courses (website_slides_forum)

slide_channel_idsCourses

Edit the course linked to this forum on the course form.

one2many

inverse: forum_id

added by Forum on Courses (website_slides_forum)

tag_idsTagsone2many

inverse: forum_id

tag_most_used_idsMost used tagsone2many
computed
tag_unused_idsUnused tagsone2many
computed
total_answers# Answersinteger
computed
total_favorites# Favoritesinteger
computed
total_posts# Postsinteger
computed
total_views# Viewsinteger
computed
visibilityVisibility

Forum linked to a Course, the visibility is the one applied on the course.

selection

related: slide_channel_id.visibility

added by Forum on Courses (website_slides_forum)

welcome_messageWelcome Messagehtml
has_messageHas Messageboolean
computed

inherited from mail.thread

image_1024Image 1024image

related: image_1920

inherited from image.mixin

image_128Image 128image

related: image_1920

inherited from image.mixin

image_256Image 256image

related: image_1920

inherited from image.mixin

image_512Image 512image

related: image_1920

inherited from image.mixin

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_idWebsite

Restrict to a specific website.

many2one

inherited from website.multi.mixin

website_message_idsWebsite Messages

Website communication history

one2many

inverse: res_id

inherited from mail.thread

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

create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
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.forum/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","default_order","mode","authorized_group_id","slide_channel_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.forum/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","default_order","mode","authorized_group_id","slide_channel_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-forum">forum.forum (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.