Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Some users cannot see chatter messages (tracking / history) for a custom model – access rights & record rules seem fine

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
chatterrecord_rulesaccess rights
2 Antwoorden
1169 Weergaven
Avatar
Uday Sankar k

I’m facing an issue related to chatter  visibility in Odoo and would like to understand if this is expected behaviour or if I’m missing something.

For a custom model
some users cannot see any chatter messages (tracking / history), and the UI shows:

However:

  • Chatter messages do exist in mail_message

  • Other users (including admin / superuser) can see the full chatter

  • The affected users can still:

    • Open the record

    • Perform actions on the record

    • Post new messages (but cannot see old ones)

There are no messages in this conversation

I already checked Access rights (ir.model.access) – OK
Record rules (ir.rule) – evaluated and tested
No record rules on mail.message
The default company of the affected users is different from the company of the record
Even when the record is accessible and backend checks pass, chatter remains empty

what ELSE is left to check in this case?

0
Avatar
Annuleer
Avatar
CandidRoot Solutions
Beste antwoord

Hey Uday,

I have banged my head against this exact wall before. Since you already confirmed standard ACLs and Record Rules are passing, and the user can actually write to the record, standard logic says they should see the history.

However, because you mentioned "The default company of the affected users is different from the company of the record," I am 99% sure this is the "Multi-Company Message Rule" biting you.

Here is what is likely happening and what you need to check:

1. The mail.message Company Trap We often forget that mail.message is a model itself, and it has a company_id field.

  • The Scenario: When the record was created (or when those old messages were posted), they were likely stamped with Company A.

  • The Problem: Even if your user (from Company B) has a record rule to see the Record itself, there is a global multi-company rule that applies to every model with a company_id field.

  • The Conflict: If the user is logged in and their "Allowed Companies" (top right switch) is set to only Company B, Odoo’s standard multi-company security will strictly hide any mail.message rows belonging to Company A. They see the record shell, but the messages inside are filtered out by SQL.

The Fix/Test: Ask the affected user to tick the box for the Record's company in their top-right company switcher (so they are in "Company B + Company A" mode). I bet the chatter instantly appears.

2. Subtypes and "Internal" Groups If the multi-company check passes, the next "invisible" filter is the Message Subtype.

  • Check the mail.message rows in the database. Do they have a subtype_id?

  • Go to Settings > Technical > Email > Subtypes.

  • Check the subtype for "Discussions" or "Note" related to your custom model.

  • If the "Internal Only" boolean is checked on that subtype, users must be part of the specific Internal/Employee group to see them. If your custom users are "Portal" or "Public" or a custom restricted group, they won't see messages of that subtype.

3. The "Partner" Filter (Rare but possible) Sometimes, messages are created with specific partner_ids (private notifications). If the message was sent "Privately" to a specific list of partners and the current user isn't in that list, they won't see it, even if they have access to the document.

My money is on #1. Since they can post new messages (which likely get stamped with their current company, Company B), they can see their own new messages, but the old history (Company A) remains invisible until they switch their allowed company context.

Let me know if that was it!

If this helped, kindly upvote.
Best Regards,


CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209

Email: info@candidroot.com
Web: https://www.candidroot.com

1
Avatar
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord
Hi,

When users cannot see chatter messages (tracking/history) for a custom Odoo model, even if general access rights and record rules appear correct, the issue often stems from specific configurations. First, ensure the custom model inherits from mail.threadand includes the <chatter/>element in its form view. Crucially, verify that affected users have at least read access to the custom model itself, as chatter visibility is tied to record access. A common cause is messages being posted as "internal notes," which are typically only visible to users in the base.group_usergroup (internal users); if the users in question are portal users or lack this group, they won't see these notes. While record rules are checked, a deeper review is warranted, as a restrictive rule on the custom model can prevent access to the record and, consequently, its chatter. Finally, confirm that the _mail_post_accessattribute on mail.threadis not inadvertently restricting visibility.


Hope it helps.


-1
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Access Rights Limitations
record_rules Security access rights
Avatar
Avatar
2
nov. 24
3370
Allow user to leave messages in chatter but not alter record
security chatter record_rules
Avatar
0
feb. 24
3366
Acces rights, record rules and notification and messages V14
groups chatter record_rules v14
Avatar
0
jun. 24
1454
Leaves Approval through hierarchical manner
record_rules
Avatar
1
apr. 26
4536
Toggle chatter button on todo tasks - Have it everywhere in odoo? Opgelost
chatter
Avatar
Avatar
1
mrt. 26
1813
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now