Mail Message Search
by Quartile https://github.com/OCA/social , Odoo Community Association (OCA) https://github.com/OCA/socialAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 40 |
Technical Name |
mail_message_search |
License | AGPL-3 |
Website | https://github.com/OCA/social |
Mail Message Search
This module enables searching for messages across any record that uses the chatter, based on their associated conversation threads. It dynamically adds a Message Search field to the search view of any model that inherits from mail.thread.
The Message Search field performs a smart, per-word search across a message’s subject, body, sender, and reply-to fields.
Table of contents
Use Cases / Context
This module offers an alternative to base_search_mail_content, designed to better support languages that do not separate words with spaces (e.g., Chinese, Japanese, Korean, Thai).
The original module relies on PostgreSQL’s pg_trgm, which requires three-character tokens and a similarity score above the default cutoff—making it ineffective for languages without space-separated words.
This module uses direct keyword matching across key fields in mail.message, offering more reliable results in multilingual environments.
Usage
Go to any model that contains a chatter (e.g. Contacts, …). Search for content in field ‘Message Search’.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Quartile
Contributors
- Quartile:
- Aung Ko Ko Lin
- Yoshi Tashiro
Maintainers
This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/social project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module