[MIG] base_search_mail_content: Migration to 14.0

This commit is contained in:
Víctor Martínez 2021-06-29 09:53:59 +02:00 committed by Eduardo De Miguel
parent c88e84a0b1
commit 451515f0f5
5 changed files with 30 additions and 18 deletions

View File

@ -14,13 +14,13 @@ Base Search Mail Content
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/13.0/base_search_mail_content :target: https://github.com/OCA/social/tree/14.0/base_search_mail_content
:alt: OCA/social :alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-13-0/social-13-0-base_search_mail_content :target: https://translation.odoo-community.org/projects/social-14-0/social-14-0-base_search_mail_content
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/205/13.0 :target: https://runbot.odoo-community.org/runbot/205/14.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -72,7 +72,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_. 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. In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20base_search_mail_content%0Aversion:%2013.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:%2014.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. Do not contact contributors directly about support or help with technical issues.
@ -112,6 +112,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/social <https://github.com/OCA/social/tree/13.0/base_search_mail_content>`_ project on GitHub. This module is part of the `OCA/social <https://github.com/OCA/social/tree/14.0/base_search_mail_content>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -6,7 +6,7 @@
{ {
"name": "Base Search Mail Content", "name": "Base Search Mail Content",
"version": "13.0.1.0.1", "version": "14.0.1.0.0",
"author": "ForgeFlow, SerpentCS, Tecnativa, Odoo Community Association (OCA)", "author": "ForgeFlow, SerpentCS, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social", "website": "https://github.com/OCA/social",
"category": "Social", "category": "Social",

View File

@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 13.0\n" "Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -13,6 +13,12 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \n" "Plural-Forms: \n"
#. module: base_search_mail_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_thread__display_name
#: model:ir.model.fields,field_description:base_search_mail_content.field_trgm_index__display_name
msgid "Display Name"
msgstr ""
#. module: base_search_mail_content #. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread #: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread" msgid "Email Thread"
@ -23,11 +29,20 @@ msgstr ""
msgid "Field" msgid "Field"
msgstr "" msgstr ""
#. module: base_search_mail_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_thread__id
#: model:ir.model.fields,field_description:base_search_mail_content.field_trgm_index__id
msgid "ID"
msgstr ""
#. module: base_search_mail_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_thread____last_update
#: model:ir.model.fields,field_description:base_search_mail_content.field_trgm_index____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_search_mail_content #. module: base_search_mail_content
#: code:addons/base_search_mail_content/models/mail_thread.py:0 #: code:addons/base_search_mail_content/models/mail_thread.py:0
#: model:ir.model.fields,field_description:base_search_mail_content.field_calendar_event__message_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_event_event__message_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_event_registration__message_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_blacklist__message_content #: model:ir.model.fields,field_description:base_search_mail_content.field_mail_blacklist__message_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_channel__message_content #: model:ir.model.fields,field_description:base_search_mail_content.field_mail_channel__message_content
#: model:ir.model.fields,field_description:base_search_mail_content.field_mail_thread__message_content #: model:ir.model.fields,field_description:base_search_mail_content.field_mail_thread__message_content
@ -44,9 +59,6 @@ msgid "Message Content"
msgstr "" msgstr ""
#. module: base_search_mail_content #. module: base_search_mail_content
#: model:ir.model.fields,help:base_search_mail_content.field_calendar_event__message_content
#: model:ir.model.fields,help:base_search_mail_content.field_event_event__message_content
#: model:ir.model.fields,help:base_search_mail_content.field_event_registration__message_content
#: model:ir.model.fields,help:base_search_mail_content.field_mail_blacklist__message_content #: model:ir.model.fields,help:base_search_mail_content.field_mail_blacklist__message_content
#: model:ir.model.fields,help:base_search_mail_content.field_mail_channel__message_content #: model:ir.model.fields,help:base_search_mail_content.field_mail_channel__message_content
#: model:ir.model.fields,help:base_search_mail_content.field_mail_thread__message_content #: model:ir.model.fields,help:base_search_mail_content.field_mail_thread__message_content

View File

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" /> <meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
<title>Base Search Mail Content</title> <title>Base Search Mail Content</title>
<style type="text/css"> <style type="text/css">
@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" 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" 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" href="https://github.com/OCA/social/tree/13.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" href="https://translation.odoo-community.org/projects/social-13-0/social-13-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" href="https://runbot.odoo-community.org/runbot/205/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p><a class="reference external" 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" 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" href="https://github.com/OCA/social/tree/14.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" href="https://translation.odoo-community.org/projects/social-14-0/social-14-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" href="https://runbot.odoo-community.org/runbot/205/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module adds the capability to find on any object (e.g. project issues or <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> helpdesk ticket) based on the conversation threads associated to them.</p>
<p>This will be useful in models that make intense use of messages, <p>This will be useful in models that make intense use of messages,
@ -414,7 +414,7 @@ for content in field Message Content.</p>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>. <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. In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed If you spotted it first, help us smashing 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:%2013.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:%2014.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> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@ -448,7 +448,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/13.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/14.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> <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>
</div> </div>

View File

@ -6,7 +6,7 @@ from odoo.tests.common import TransactionCase
class TestBaseSearchMailContent(TransactionCase): class TestBaseSearchMailContent(TransactionCase):
def setUp(self): def setUp(self):
super(TestBaseSearchMailContent, self).setUp() super().setUp()
self.channel_obj = self.env["mail.channel"] self.channel_obj = self.env["mail.channel"]
def test_base_search_mail_content_1(self): def test_base_search_mail_content_1(self):