OdooWiki OCA HUB

Base Search Mail Content

base_search_mail_content folder_open OCA/mail open_in_new
Social License: AGPL-3

This module adds the capability to find on any object (e.g. project issues or helpdesk ticket) based on the conversation threads associated to them.

This will be useful in models that make intense use of messages, like project issues or helpdesk tickets.

A project issue or helpdesk ticket can contain tens of mails or notes associated, based on the feedback that the person responsible for the ticket maintains, including conversations with the person that raised the issue.

A user may often want to find issues or tickets, based on the past conversations that were recorded, as much as he or she needs to search in their mail for past conversations.

This module will add dynamically a field 'message_content' to the search view of any model that inherits from the mail.thread.

The current search capabilities include searching into the subject, body, email from, reply to and record name.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets users search any record that uses Odoo chatter (like tasks, tickets or issues) by the content of its messages, notes and emails, not just by the record's own fields.

This module adds a new search option called message content to every screen that uses Odoo's chatter (the message and note area). It works on any model that inherits from mail.thread, for example project tasks or helpdesk tickets.

  • In the search bar of those screens, users can now filter records by words found in the messages attached to them.
  • The search looks inside the message subject, body, sender email, reply-to address and the record name stored on the message.
  • It also supports negative searches, so users can find records whose messages do not contain a given word.
  • The field is only used for searching; it does not store or display any value on the record itself.

Behind the scenes, the module makes the message fields (subject, body, record_name, email_from, reply_to on mail.message) faster to search by adding special text indexes, which rely on the fuzzy search module.

The search field is added automatically to the search views of all chatter-enabled models for internal users, so no manual configuration is needed. It does not change how messages are created, sent or displayed.

Depends on

Models and fields (2)
  • mail.thread · extends an existing modelmessage_content
  • mail.message · extends an existing modelbody, subject, reply_to, email_from, record_name

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

This module creates the GIN (trigram) indexes for these fields of mail.message: subject, body, record_name, email_from, reply_to.

Go to any model that contains a chatter (e.g. Contacts, ...). Search for content in field 'Message Content'.

No verified information in OCA: Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.