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 name | Label | Type | Details |
|---|---|---|---|
| active | Active | boolean | |
| allow_share | Sharing 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_id | Authorized Group | many2one | |
| can_moderate | Is a moderator | boolean | computed |
| count_flagged_posts | Number of flagged posts | integer | computed |
| count_posts_waiting_validation | Number of posts waiting for validation | integer | computed |
| default_order | Default | selection | required Values: |
| description | Description | text | translatable |
| faq | Guidelines | html | |
| has_pending_post | Has pending post | boolean | computed |
| image_1920 | Image | image | computed, stored added by Forum on Courses ( |
| karma_answer | Answer questions | integer | |
| karma_answer_accept_all | Accept an answer to all questions | integer | |
| karma_answer_accept_own | Accept an answer on own questions | integer | |
| karma_ask | Ask questions | integer | |
| karma_close_all | Close all posts | integer | |
| karma_close_own | Close own posts | integer | |
| karma_comment_all | Comment all posts | integer | |
| karma_comment_convert_all | Convert all comments to answers | integer | |
| karma_comment_convert_own | Convert own comments to answers | integer | |
| karma_comment_own | Comment own posts | integer | |
| karma_comment_unlink_all | Delete all comments | integer | |
| karma_comment_unlink_own | Delete own comments | integer | |
| karma_dofollow | Nofollow links If the author has not enough karma, a nofollow attribute is added to links | integer | |
| karma_downvote | Downvote | integer | |
| karma_edit_all | Edit all posts | integer | |
| karma_edit_own | Edit own posts | integer | |
| karma_edit_retag | Change question tags | integer | |
| karma_editor | Editor Features: image and links | integer | |
| karma_flag | Flag a post as offensive | integer | |
| karma_gen_answer_accept | Accepting an answer | integer | |
| karma_gen_answer_accepted | Answer accepted | integer | |
| karma_gen_answer_downvote | Answer downvoted | integer | |
| karma_gen_answer_flagged | Answer flagged | integer | |
| karma_gen_answer_upvote | Answer upvoted | integer | |
| karma_gen_question_downvote | Question downvoted | integer | |
| karma_gen_question_new | Asking a question | integer | |
| karma_gen_question_upvote | Question upvoted | integer | |
| karma_moderate | Moderate posts | integer | |
| karma_post | Ask questions without validation | integer | |
| karma_tag_create | Create new tags | integer | |
| karma_unlink_all | Delete all posts | integer | |
| karma_unlink_own | Delete own posts | integer | |
| karma_upvote | Upvote | integer | |
| karma_user_bio | Display detailed user biography | integer | |
| last_post_id | Last Post | many2one | computed |
| mode | Mode Questions mode: only one answer allowed Discussions mode: multiple answers allowed | selection | required Values: |
| name | Forum Name | char | requiredtranslatable |
| post_ids | Posts | one2many | inverse: |
| privacy | Privacy 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: |
| relevancy_post_vote | First 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_decay | Second Relevance Parameter | float | |
| sequence | Sequence | integer | |
| slide_channel_id | Course | many2one | computed, stored added by Forum on Courses ( |
| slide_channel_ids | Courses Edit the course linked to this forum on the course form. | one2many | inverse: added by Forum on Courses ( |
| tag_ids | Tags | one2many | inverse: |
| tag_most_used_ids | Most used tags | one2many | computed |
| tag_unused_ids | Unused tags | one2many | computed |
| total_answers | # Answers | integer | computed |
| total_favorites | # Favorites | integer | computed |
| total_posts | # Posts | integer | computed |
| total_views | # Views | integer | computed |
| visibility | Visibility Forum linked to a Course, the visibility is the one applied on the course. | selection | related: added by Forum on Courses ( |
| welcome_message | Welcome Message | html | |
| has_message | Has Message | boolean | computed inherited from mail.thread |
| image_1024 | Image 1024 | image | related: inherited from image.mixin |
| image_128 | Image 128 | image | related: inherited from image.mixin |
| image_256 | Image 256 | image | related: inherited from image.mixin |
| image_512 | Image 512 | image | related: inherited from image.mixin |
| is_seo_optimized | SEO optimized | boolean | computed, stored inherited from website.seo.metadata |
| message_attachment_count | Attachment Count | integer | computed inherited from mail.thread |
| message_follower_ids | Followers | one2many | inverse: inherited from mail.thread |
| message_has_error | Message Delivery error If checked, some messages have a delivery error. | boolean | computed inherited from mail.thread |
| message_has_error_counter | Number of errors Number of messages with delivery error | integer | computed inherited from mail.thread |
| message_has_sms_error | SMS Delivery error If checked, some messages have a delivery error. | boolean | computed inherited from mail.thread |
| message_ids | Messages | one2many | inverse: inherited from mail.thread |
| message_is_follower | Is Follower | boolean | computed inherited from mail.thread |
| message_needaction | Action Needed If checked, new messages require your attention. | boolean | computed inherited from mail.thread |
| message_needaction_counter | Number of Actions Number of messages requiring action | integer | computed inherited from mail.thread |
| message_partner_ids | Followers (Partners) | many2many | computed inherited from mail.thread |
| rating_ids | Ratings | one2many | inverse: inherited from mail.thread |
| seo_name | Seo name | char | translatable inherited from website.seo.metadata |
| website_id | Website Restrict to a specific website. | many2one→ website | inherited from website.multi.mixin |
| website_message_ids | Website Messages Website communication history | one2many | inverse: inherited from mail.thread |
| website_meta_description | Website meta description | text | translatable inherited from website.seo.metadata |
| website_meta_keywords | Website meta keywords | char | translatable inherited from website.seo.metadata |
| website_meta_og_img | Website opengraph image | char | inherited from website.seo.metadata |
| website_meta_title | Website meta title | char | translatable inherited from website.seo.metadata |
| create_date | Created on | datetime | read-onlyautomatic |
| create_uid | Created by | many2one | read-onlyautomatic |
| display_name | Display Name | char | read-onlycomputedautomatic |
| id | ID | integer | read-onlyautomatic |
| write_date | Last Updated on | datetime | read-onlyautomatic |
| write_uid | Last Updated by | many2one | read-onlyautomatic |
Relations
Models linked from this model
- forum.post: last_post_id, post_ids
- forum.tag: tag_ids, tag_most_used_ids, tag_unused_ids
- res.groups: authorized_group_id
- slide.channel: slide_channel_id, slide_channel_ids
Fields of other models pointing here
- forum.post: forum_id
- forum.post.vote: forum_id
- forum.tag: forum_id
- slide.channel: forum_id
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 -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}'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.