| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 224 |
| Technical Name |
tko_mail_chatter_limit |
| License | LGPL-3 |
| Website | https://tkopen.com |
TKO Mail Chatter Limit
Lightning-fast forms even when your chatter has thousands of messages
Automatically load only the most recent 20 messages in any chatter.
Reveal older history in clean batches of 20 (defined in Settings) using Odoo's native scrolling down.
The Problem
Slow Form Loads
Records like customer, suppliers, helpdesk tickets, or long-running projects accumulate hundreds or thousands of chatter messages (tracking logs, emails, notes). Opening the form becomes painfully slow.
Wasted Resources
Odoo loads far more data than users usually need right now. The result: frustrated users, longer wait times, and lower productivity â especially painful in education and service businesses.
The Smart Solution â Only 20 Recent Messages
TKO Mail Chatter Limit patches the core chatter engine so that forms load the 20 most recent messages only by default. Users can instantly load the next 20 older messages (and the next, and the next...) simply by scrolling down.
- Zero configuration â works out of the box on every form with chatter
- "Load all" button â A "Load all" button appears at the top right of the chatter to load the entire remaining history in one click
- No view changes required in your customer, supplier, ticket, or project forms
- Fully compatible with Odoo's native message rendering, attachments, tracking values, reactions, and composer
- New messages appear instantly at the bottom as usual
- Preserves scroll position when loading older history (core behavior maintained)
Key Benefits
Blazing Fast Forms
Open customer, supplier or ticket records in seconds instead of waiting for the full history.
Better User Experience
Your team sees what matters now. Historical context is one click or scroll away.
Lower Server Load
Fewer messages and tracking values transferred on every form load.
Perfect For
- Customer / Vendor management (many mail messages records)
- Helpdesk & Support (long ticket threads)
- Project & Task management
- CRM with heavy email history
- Any model inheriting
mail.threadwith lots of activity
How It Works
- Install the module â no configuration screen, no settings to touch.
- Open any form with chatter (customer, supplier, ticket, project...).
- The chatter instantly shows only the 20 most recent messages.
- Scroll down to load the previous 20 older messages.
- Click the "Load all" button (top right) to load all remaining messages at once.
- Repeat as needed. The module uses batches of exactly 20 for predictable, fast loads.
All the power of Odoo's native chatter remains: attachments, tracking values, @mentions, email composer, bus notifications, etc.
Only â¬10 â One Time Purchase
Instant performance improvement for your entire Odoo 16 instance.
No subscription. No per-user fees. No hidden costs.
Technical Details
| Module Technical Name | tko_mail_chatter_limit |
| Odoo Version | 16.0 (Community & Enterprise) |
| Dependencies | Only mail |
| Configuration | None required |
| View Changes | Not needed â works globally |
| Batch Size | 20 messages (initial + each "Load more") |
Installation
- Download and place
tko_mail_chatter_limitin your addons path. - Update the Apps list in Odoo.
- Search for "TKO Mail Chatter Limit" and install.
- That's it! All existing and future forms with chatter will benefit immediately.
Frequently Asked Questions
Does it delete old messages?
No. All messages remain in the database. We only control how many are fetched and rendered when you open a record.
Will new messages still appear?
Yes â newly posted messages are appended at the bottom in real time, exactly like standard Odoo.
Can I change the number from 20?
Yes. The limit is defined in one small file and can be easily adjusted (15, 25, 30â¦).
Does it affect Discuss / channels?
The patch applies to all thread caches, which improves performance everywhere, including long channels if desired.
Credits
Developed by TKOpen
https://tkopen.com
Created to solve real-world performance issues in Odoo 16 installations with high-volume chatter, especially customer records with thousands of messages, notes and tracking values accumulate over time.
This module reuses and extends Odoo's excellent mail and discuss framework (ThreadCache, _message_fetch, MessageList, etc.). All native chatter features (attachments, reactions, composer, real-time updates, etc.) remain fully functional.
TKO Mail Chatter Limit â because nobody should wait 10 seconds to open a customer record.
Questions? Contact us through the Odoo Apps support channel or your usual support route.
Please log in to comment on this module