Skip to content

Commit

Permalink
Merge pull request #282 from Tecnativa/11.0-mig-base_search_mail_content
Browse files Browse the repository at this point in the history
[MIG] base_search_mail_content: Migration to 11.0
  • Loading branch information
pedrobaeza committed Jun 13, 2018
2 parents 9815862 + fee986f commit cdc9394
Show file tree
Hide file tree
Showing 66 changed files with 2,613 additions and 0 deletions.
1 change: 1 addition & 0 deletions base_search_mail_content/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file is going to be generated by oca-gen-addon-readme.
7 changes: 7 additions & 0 deletions base_search_mail_content/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
22 changes: 22 additions & 0 deletions base_search_mail_content/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Base Search Mail Content",
"version": "11.0.1.0.0",
"author": "Eficent,"
"SerpentCS,"
"Tecnativa,"
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/social",
"category": "Social",
"data": [
"data/trgm_index_data.xml",
],
"depends": ["mail", "base_search_fuzzy"],
"license": "AGPL-3",
'installable': True,
}
34 changes: 34 additions & 0 deletions base_search_mail_content/data/trgm_index_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">

<record id="subject_gin_idx" model="trgm.index">
<field name="index_type">gin</field>
<field name="field_id"
search="[('model','=','mail.message'),('name','=','subject')]"/>
</record>

<record id="body_gin_idx" model="trgm.index">
<field name="index_type">gin</field>
<field name="field_id"
search="[('model','=','mail.message'),('name','=','body')]"/>
</record>

<record id="record_name_gin_idx" model="trgm.index">
<field name="index_type">gin</field>
<field name="field_id"
search="[('model','=','mail.message'),('name','=','record_name')]"/>
</record>

<record id="email_from_gin_idx" model="trgm.index">
<field name="index_type">gin</field>
<field name="field_id"
search="[('model','=','mail.message'),('name','=','email_from')]"/>
</record>

<record id="reply_to_gin_idx" model="trgm.index">
<field name="index_type">gin</field>
<field name="field_id"
search="[('model','=','mail.message'),('name','=','reply_to')]"/>
</record>

</odoo>
47 changes: 47 additions & 0 deletions base_search_mail_content/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 03:39+0000\n"
"PO-Revision-Date: 2017-01-18 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: am\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "ተባባሪ"
47 changes: 47 additions & 0 deletions base_search_mail_content/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 03:39+0000\n"
"PO-Revision-Date: 2017-01-18 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "الشريك"
47 changes: 47 additions & 0 deletions base_search_mail_content/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 03:39+0000\n"
"PO-Revision-Date: 2017-01-18 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "Партньор"
47 changes: 47 additions & 0 deletions base_search_mail_content/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 03:39+0000\n"
"PO-Revision-Date: 2017-01-18 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bs\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "Partner"
48 changes: 48 additions & 0 deletions base_search_mail_content/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-28 08:19+0000\n"
"PO-Revision-Date: 2017-03-28 08:19+0000\n"
"Last-Translator: Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr "Tema del Correu electrònic "

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "Empresa"
47 changes: 47 additions & 0 deletions base_search_mail_content/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_search_mail_content
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 03:39+0000\n"
"PO-Revision-Date: 2017-01-18 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: base_search_mail_content
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_form
#: model:ir.ui.view,arch_db:base_search_mail_content.trgm_index_view_tree
msgid "\"You can either select a field of type 'text', 'char' or 'html'.\""
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_mail_thread
msgid "Email Thread"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message Content"
msgstr ""

#. module: base_search_mail_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_res_partner_message_content
msgid "Message content, to be used only in searches"
msgstr ""

#. module: base_search_mail_content
#: model:ir.model,name:base_search_mail_content.model_res_partner
msgid "Partner"
msgstr "Společník"
Loading

0 comments on commit cdc9394

Please sign in to comment.