Base Search Mail Content

base_search_mail_content
REPOSITORY
REPOSITORYOCA/mail
GIT
GIThttps://github.com/OCA/mail.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/mail/tree/18.0/base_search_mail_content
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Emilio Pascual, David Bañón, Joel Estrada
WEBSITE
WEBSITEhttps://github.com/OCA/mail
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

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
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/17.0/base_search_mail_content
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

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
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/16.0/base_search_mail_content
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSAndrea, Carlos Lopez, Weblate, OCA-git-bot, oca-ci, Aungkokolin1997, Joel Estrada
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/15.0/base_search_mail_content
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/14.0/base_search_mail_content
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Simone Rubino
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/13.0/base_search_mail_content
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSPedro M. Baeza, Jairo Llopis, mreficent, OCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • message_content Text
    compute=<expr> help='Message content, to be used only in searches' search='_search_message_content' string='Message Content'
Public methods (1)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/12.0/base_search_mail_content
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Eficent, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, ernesto
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • message_content Text
    compute=<expr> help='Message content, to be used only in searches' search='_search_message_content' string='Message Content'
Public methods (1)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/11.0/base_search_mail_content
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Eficent, SerpentCS
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSJairo Llopis, cubells, OCA Transbot, oca-travis, Weblate, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (1)
  • message_content Text
    compute=<expr> help='Message content, to be used only in searches' search='_search_message_content' string='Message Content'
Public methods (1)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread

New fields (1)
  • field_id Many2one
    help="You can either select a field of type 'text', 'char' or 'html'."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/10.0/base_search_mail_content
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index field Inherits base_search_fuzzy.trgm_index_view_form
trgm_index_view_tree trgm.index.view.tree trgm.index field Inherits base_search_fuzzy.trgm_index_view_tree
Models touched (1)

New fields (1)
  • message_content Text
    compute=<expr> help='Message content, to be used only in searches' search='_search_message_content' string='Message Content'
Public methods (1)
  • fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False)
    @api.model
    Override to add message_content field in all the objects that inherits mail.thread
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/9.0/base_search_mail_content
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSOCA Transbot, ahenriquez, darshan-serpent, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_search_fuzzy
odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index field Inherits base_search_fuzzy.trgm_index_view_form
trgm_index_view_tree trgm.index.view.tree trgm.index field Inherits base_search_fuzzy.trgm_index_view_tree
Models touched (2)

New fields (1)
  • message_content Text
    compute='_compute_message_content' help='Message content, to be used only in searches' search='_search_message_content' string='Message Content'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.