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.
Configuration
If your database is very large, you can limit how many messages a search returns to prevent crashes.
Go to Settings ▸ Technical ▸ System Parameters.
Add a new parameter:
Key: mail_message_search.message_limit
Value: your desired limit (e.g., 5000).
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
Contributors
-
Aung Ko Ko Lin
Yoshi Tashiro
Other credits
The migration of this module from 18.0 to 19.0 was financially supported by Agent ERP GmbH
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/mail project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-mail-message-search 19.0.1.0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_mail_message_search-19.0.1.0.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_mail_message_search-19.0.1.0.0.13-py3-none-any.whl
| Download URL | odoo_addon_mail_message_search-19.0.1.0.0.13-py3-none-any.whl |
|---|---|
| Size | 31.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
257ea9a000006222b394666c39c4f13c9b4a8930b195588a6209c82402beb493
|
|
BLAKE2b-256 checksum How to use checksums |
ac9456182aa78f884c26be4371de70d73a415f2c027c00a740b6b024a884ee69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|