TIP: You can type at any time to perform a new search.
Base Search Mail Content
base_search_mail_content · OCA/mail
- Repository
- OCA/mail · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Social
- Folder size
- 0.48 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/mail
- Last tracking update
- 2026-08-07 08:42:57
- Authors
- Odoo Community Association (OCA), Tecnativa, SerpentCS, ForgeFlow
- Maintainers
- Odoo Community Association (OCA), Tecnativa, SerpentCS, ForgeFlow
- Committers
- Emilio Pascual, Weblate, OCA-git-bot, oca-ci, David Bañón, Joel Estrada
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (5)
-
bodyHtmlindex='trigram' -
email_fromCharindex='trigram' -
record_nameCharindex='trigram' -
reply_toCharindex='trigram' -
subjectCharindex='trigram'
No public methods.
New fields (1)
-
message_contentTextcompute='_compute_message_content'help='Message content, to be used only in searches'search='_search_message_content'
-
get_view(self, view_id=None, view_type='form', **options)@api.modelOverride to add message_content field in all the objects that inherits mail.thread
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…