Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
chatterrecord_rulesaccess rights
2 Replies
1146 Views
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
Discard
Avatar
CandidRoot Solutions
Best Answer

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
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer
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
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Access Rights Limitations
record_rules Security access rights
Avatar
Avatar
2
Nov 24
3329
Allow user to leave messages in chatter but not alter record
security chatter record_rules
Avatar
0
Feb 24
3358
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? Solved
chatter
Avatar
Avatar
1
Mar 26
1729
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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