Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
chatterrecord_rulesaccess rights
2 Réponses
1161 Vues
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
Ignorer
Avatar
CandidRoot Solutions
Meilleure réponse

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
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse
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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Access Rights Limitations
record_rules Security access rights
Avatar
Avatar
2
nov. 24
3346
Allow user to leave messages in chatter but not alter record
security chatter record_rules
Avatar
0
févr. 24
3362
Acces rights, record rules and notification and messages V14
groups chatter record_rules v14
Avatar
0
juin 24
1454
Leaves Approval through hierarchical manner
record_rules
Avatar
1
avr. 26
4536
Toggle chatter button on todo tasks - Have it everywhere in odoo? Résolu
chatter
Avatar
Avatar
1
mars 26
1767
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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