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
OCA/server-tools:
odoo/odoo:
- web
- bus
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)
  • body Html
    index='trigram'
  • email_from Char
    index='trigram'
  • record_name Char
    index='trigram'
  • reply_to Char
    index='trigram'
  • subject Char
    index='trigram'
Public methods (0)

No public methods.

New fields (1)
  • message_content Text
    compute='_compute_message_content' help='Message content, to be used only in searches' search='_search_message_content'
Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…