[IMP] base_search_mail_content: pre-commit auto fixes

pull/1325/head
chien 2024-01-23 15:38:55 +07:00 committed by Enric Tobella
parent 9569fe6e95
commit 7d64db6e88
8 changed files with 82 additions and 73 deletions

View File

@ -17,36 +17,38 @@ Base Search Mail Content
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/16.0/base_search_mail_content
:target: https://github.com/OCA/social/tree/17.0/base_search_mail_content
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-base_search_mail_content
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-base_search_mail_content
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
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 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.
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.
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.
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.
The current search capabilities include searching into the subject,
body, email from, reply to and record name.
**Table of contents**
@ -58,16 +60,17 @@ Installation
This module depends on the module 'base_search_fuzzy' to ensure that
searches on emails are based on indexes. Please read carefully the
`install instructions <https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy>`_.
`install
instructions <https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy>`__.
This module installs by default the indexes that are required to
perform the searches on mail messages.
This module installs by default the indexes that are required to perform
the searches on mail messages.
Usage
=====
Go to any model that contains a chatter (e.g. Contacts, ...). Search
for content in field 'Message Content'.
Go to any model that contains a chatter (e.g. Contacts, ...). Search for
content in field 'Message Content'.
Bug Tracker
===========
@ -75,7 +78,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/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 <https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@ -83,27 +86,26 @@ Credits
=======
Authors
~~~~~~~
-------
* ForgeFlow
* SerpentCS
* Tecnativa
Contributors
~~~~~~~~~~~~
------------
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Lois Rilo Antelo <lois.rilo@forgeflow.com>
* Aaron Henriquez <ahenriquez@forgeflow.com>
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- Lois Rilo Antelo <lois.rilo@forgeflow.com>
- Aaron Henriquez <ahenriquez@forgeflow.com>
- `Tecnativa <https://www.tecnativa.com>`__:
* `Tecnativa <https://www.tecnativa.com>`_:
* Vicent Cubells
* Ernesto Tejeda
- Vicent Cubells
- Ernesto Tejeda
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@ -115,6 +117,6 @@ 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.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/base_search_mail_content>`_ project on GitHub.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/base_search_mail_content>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

@ -0,0 +1,7 @@
- Jordi Ballester Alomar \<<jordi.ballester@forgeflow.com>\>
- Serpent Consulting Services Pvt. Ltd. \<<support@serpentcs.com>\>
- Lois Rilo Antelo \<<lois.rilo@forgeflow.com>\>
- Aaron Henriquez \<<ahenriquez@forgeflow.com>\>
- [Tecnativa](https://www.tecnativa.com):
- Vicent Cubells
- Ernesto Tejeda

View File

@ -1,9 +0,0 @@
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Lois Rilo Antelo <lois.rilo@forgeflow.com>
* Aaron Henriquez <ahenriquez@forgeflow.com>
* `Tecnativa <https://www.tecnativa.com>`_:
* Vicent Cubells
* Ernesto Tejeda

View File

@ -1,19 +1,21 @@
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 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.
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.
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.
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.
The current search capabilities include searching into the subject,
body, email from, reply to and record name.

View File

@ -1,6 +1,7 @@
This module depends on the module 'base_search_fuzzy' to ensure that
searches on emails are based on indexes. Please read carefully the
`install instructions <https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy>`_.
[install
instructions](https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy).
This module installs by default the indexes that are required to
perform the searches on mail messages.
This module installs by default the indexes that are required to perform
the searches on mail messages.

View File

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

View File

@ -369,21 +369,23 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c0da7e7bacf2b86f570ca16e404c48ec89ee8afca5a84a53672ecf09ec678b25
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/16.0/base_search_mail_content"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-16-0/social-16-0-base_search_mail_content"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p>This will be useful in models that make intense use of messages,
like project issues or helpdesk tickets.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/17.0/base_search_mail_content"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-17-0/social-17-0-base_search_mail_content"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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.</p>
<p>This will be useful in models that make intense use of messages, like
project issues or helpdesk tickets.</p>
<p>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.</p>
associated, based on the feedback that the person responsible for the
ticket maintains, including conversations with the person that raised
the issue.</p>
<p>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.</p>
<p>This module will add dynamically a field message_content to the search view
of any model that inherits from the mail.thread.</p>
<p>The current search capabilities include searching into the subject, body,
email from, reply to and record name.</p>
<p>This module will add dynamically a field message_content to the search
view of any model that inherits from the mail.thread.</p>
<p>The current search capabilities include searching into the subject,
body, email from, reply to and record name.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@ -402,21 +404,22 @@ email from, reply to and record name.</p>
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<p>This module depends on the module base_search_fuzzy to ensure that
searches on emails are based on indexes. Please read carefully the
<a class="reference external" href="https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy">install instructions</a>.</p>
<p>This module installs by default the indexes that are required to
perform the searches on mail messages.</p>
<a class="reference external" href="https://github.com/OCA/server-tools/blob/15.0/base_search_fuzzy">install
instructions</a>.</p>
<p>This module installs by default the indexes that are required to perform
the searches on mail messages.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>Go to any model that contains a chatter (e.g. Contacts, …). Search
for content in field Message Content.</p>
<p>Go to any model that contains a chatter (e.g. Contacts, …). Search for
content in field Message Content.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@ -450,7 +453,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/16.0/base_search_mail_content">OCA/social</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/17.0/base_search_mail_content">OCA/social</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>