Compare commits
merge into: OCA:12.0
OCA:10.0
OCA:11.0
OCA:12.0
OCA:12.3
OCA:8.0
OCA:9.0
OCA:mail_tracking_fix
pull from: OCA:mail_tracking_fix
OCA:10.0
OCA:11.0
OCA:12.0
OCA:12.3
OCA:8.0
OCA:9.0
OCA:mail_tracking_fix
No commits in common. '12.0' and 'mail_tracking_fix' have entirely different histories.
12.0
...
mail_track
757 changed files with 18557 additions and 47859 deletions
-
3.gitignore
-
10.travis.yml
-
33README.md
-
85base_search_mail_content/README.rst
-
6base_search_mail_content/__init__.py
-
22base_search_mail_content/__manifest__.py
-
21base_search_mail_content/__openerp__.py
-
6base_search_mail_content/data/trgm_index_data.xml
-
43base_search_mail_content/i18n/am.po
-
46base_search_mail_content/i18n/ar.po
-
57base_search_mail_content/i18n/base_search_mail_content.pot
-
43base_search_mail_content/i18n/bg.po
-
46base_search_mail_content/i18n/bs.po
-
52base_search_mail_content/i18n/ca.po
-
43base_search_mail_content/i18n/cs.po
-
43base_search_mail_content/i18n/da.po
-
56base_search_mail_content/i18n/de.po
-
46base_search_mail_content/i18n/el_GR.po
-
46base_search_mail_content/i18n/en_GB.po
-
62base_search_mail_content/i18n/es.po
-
46base_search_mail_content/i18n/es_CR.po
-
46base_search_mail_content/i18n/es_EC.po
-
46base_search_mail_content/i18n/es_MX.po
-
46base_search_mail_content/i18n/es_VE.po
-
43base_search_mail_content/i18n/et.po
-
64base_search_mail_content/i18n/eu.po
-
43base_search_mail_content/i18n/fi.po
-
58base_search_mail_content/i18n/fr.po
-
46base_search_mail_content/i18n/fr_CA.po
-
46base_search_mail_content/i18n/fr_CH.po
-
43base_search_mail_content/i18n/gl.po
-
46base_search_mail_content/i18n/hr.po
-
49base_search_mail_content/i18n/hr_HR.po
-
43base_search_mail_content/i18n/hu.po
-
45base_search_mail_content/i18n/it.po
-
43base_search_mail_content/i18n/ja.po
-
46base_search_mail_content/i18n/lt.po
-
46base_search_mail_content/i18n/lv.po
-
43base_search_mail_content/i18n/mk.po
-
43base_search_mail_content/i18n/mn.po
-
46base_search_mail_content/i18n/nb.po
-
46base_search_mail_content/i18n/nb_NO.po
-
43base_search_mail_content/i18n/nl.po
-
46base_search_mail_content/i18n/nl_BE.po
-
46base_search_mail_content/i18n/pl.po
-
43base_search_mail_content/i18n/pt.po
-
48base_search_mail_content/i18n/pt_BR.po
-
48base_search_mail_content/i18n/pt_PT.po
-
46base_search_mail_content/i18n/ro.po
-
47base_search_mail_content/i18n/ru.po
-
43base_search_mail_content/i18n/sk.po
-
48base_search_mail_content/i18n/sl.po
-
49base_search_mail_content/i18n/sr@latin.po
-
43base_search_mail_content/i18n/sv.po
-
43base_search_mail_content/i18n/th.po
-
45base_search_mail_content/i18n/tr.po
-
46base_search_mail_content/i18n/tr_TR.po
-
43base_search_mail_content/i18n/vi.po
-
46base_search_mail_content/i18n/zh_CN.po
-
46base_search_mail_content/i18n/zh_TW.po
-
8base_search_mail_content/models/__init__.py
-
106base_search_mail_content/models/mail_thread.py
-
13base_search_mail_content/models/res_partner.py
-
17base_search_mail_content/models/trgm_index.py
-
9base_search_mail_content/readme/CONTRIBUTORS.rst
-
19base_search_mail_content/readme/DESCRIPTION.rst
-
6base_search_mail_content/readme/INSTALL.rst
-
2base_search_mail_content/readme/USAGE.rst
-
457base_search_mail_content/static/description/index.html
-
2base_search_mail_content/tests/__init__.py
-
24base_search_mail_content/tests/test_base_search_mail_content.py
-
29base_search_mail_content/views/trgm_index_view.xml
-
86email_template_qweb/README.rst
-
3email_template_qweb/__init__.py
-
10email_template_qweb/__openerp__.py
-
69email_template_qweb/i18n/de.po
-
30email_template_qweb/i18n/el_GR.po
-
69email_template_qweb/i18n/en.po
-
35email_template_qweb/i18n/es.po
-
30email_template_qweb/i18n/es_MX.po
-
69email_template_qweb/i18n/fr.po
-
32email_template_qweb/i18n/hr.po
-
70email_template_qweb/i18n/it.po
-
70email_template_qweb/i18n/nl_NL.po
-
70email_template_qweb/i18n/pt_BR.po
-
20email_template_qweb/i18n/zh_CN.po
-
3email_template_qweb/models/__init__.py
-
28email_template_qweb/models/mail_template.py
-
6email_template_qweb/readme/CONTRIBUTORS.rst
-
5email_template_qweb/readme/DESCRIPTION.rst
-
5email_template_qweb/readme/USAGE.rst
-
445email_template_qweb/static/description/index.html
-
3email_template_qweb/tests/__init__.py
-
9email_template_qweb/tests/test_mail_template_qweb.py
-
2email_template_qweb/views/mail_template.xml
-
94mail_activity_board/README.rst
-
1mail_activity_board/__init__.py
-
24mail_activity_board/__manifest__.py
-
113mail_activity_board/i18n/mail_activity_board.pot
-
2mail_activity_board/models/__init__.py
@ -1,14 +1,39 @@ |
|||||
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/205/12.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-social-205) |
|
||||
[![Build Status](https://travis-ci.org/OCA/social.svg?branch=12.0)](https://travis-ci.org/OCA/social) |
|
||||
[![Coverage Status](https://coveralls.io/repos/OCA/social/badge.svg?branch=12.0)](https://coveralls.io/r/OCA/social?branch=12.0) |
|
||||
|
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/205/9.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-social-205) |
||||
|
[![Build Status](https://travis-ci.org/OCA/social.svg?branch=9.0)](https://travis-ci.org/OCA/social) |
||||
|
[![Coverage Status](https://coveralls.io/repos/OCA/social/badge.svg?branch=9.0)](https://coveralls.io/r/OCA/social?branch=9.0) |
||||
|
|
||||
Social addons for Odoo |
Social addons for Odoo |
||||
====================== |
====================== |
||||
|
|
||||
Addons concerning Odoo's social ERP features and messaging in general |
Addons concerning Odoo's social ERP features and messaging in general |
||||
|
|
||||
|
[//]: # (addons) |
||||
|
Available addons |
||||
|
---------------- |
||||
|
addon | version | summary |
||||
|
--- | --- | --- |
||||
|
[base_search_mail_content](base_search_mail_content/) | 9.0.1.0.0 | Base Search Mail Content |
||||
|
[email_template_qweb](email_template_qweb/) | 9.0.1.0.0 | Use the QWeb templating mechanism for emails |
||||
|
[mail_as_letter](mail_as_letter/) | 9.0.1.0.0 | This module allows to download a mail message as a pdf letter. |
||||
|
[mail_attach_existing_attachment](mail_attach_existing_attachment/) | 9.0.1.0.0 | Adding attachment on the object by sending this one |
||||
|
[mail_optional_autofollow](mail_optional_autofollow/) | 9.0.1.0.0 | Choose if you want to automatically add new recipients as followers on mail.compose.message |
||||
|
[mail_tracking](mail_tracking/) | 9.0.3.0.1 | Email tracking system for all mails sent |
||||
|
[mail_tracking_mailgun](mail_tracking_mailgun/) | 9.0.1.0.0 | Mail tracking and Mailgun webhooks integration |
||||
|
[mass_mailing_partner](mass_mailing_partner/) | 9.0.1.0.0 | Link partners with mass-mailing |
||||
|
[mass_mailing_security_group](mass_mailing_security_group/) | 9.0.1.0.0 | Mass mailing security group |
||||
|
[mass_mailing_unique](mass_mailing_unique/) | 9.0.1.0.0 | Avoids duplicate mailing lists and contacts |
||||
|
|
||||
|
Unported addons |
||||
|
--------------- |
||||
|
addon | version | summary |
||||
|
--- | --- | --- |
||||
|
[mail_compose_select_lang](mail_compose_select_lang/) | 8.0.1.0.0 (unported) | Select language in mail compose window |
||||
|
[mail_full_expand](mail_full_expand/) | 8.0.3.0.0 (unported) | Expand mail in a big window |
||||
|
[mail_restrict_follower_selection](mail_restrict_follower_selection/) | 8.0.1.0.0 (unported) | Define a domain from which followers can be selected |
||||
|
[mass_mailing_custom_unsubscribe](mass_mailing_custom_unsubscribe/) | 8.0.1.0.0 (unported) | Customizable unsubscribe link on mass mailing emails |
||||
|
|
||||
|
[//]: # (end addons) |
||||
|
|
||||
Translation Status |
Translation Status |
||||
------------------ |
------------------ |
||||
[![Transifex Status](https://www.transifex.com/projects/p/OCA-social-12-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-social-12-0) |
|
||||
|
[![Transifex Status](https://www.transifex.com/projects/p/OCA-social-9-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-social-9-0) |
@ -1,7 +1,7 @@ |
|||||
# Copyright 2016 Eficent Business and IT Consulting Services S.L. |
|
||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Eficent Business and IT Consulting Services S.L. |
||||
# (http://www.eficent.com) |
# (http://www.eficent.com) |
||||
# Copyright 2016 Serpent Consulting Services Pvt. Ltd. |
|
||||
# (<http://www.serpentcs.com>) |
|
||||
|
# © 2016 Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
from . import models |
from . import models |
@ -1,22 +0,0 @@ |
|||||
# 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": "12.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, |
|
||||
} |
|
@ -0,0 +1,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Eficent Business and IT Consulting Services S.L. |
||||
|
# (http://www.eficent.com) |
||||
|
# © 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": "9.0.1.0.0", |
||||
|
"author": "Eficent," |
||||
|
"SerpentCS," |
||||
|
"Odoo Community Association (OCA)", |
||||
|
"website": "http://www.eficent.com", |
||||
|
"category": "Social", |
||||
|
"data": ["data/trgm_index_data.xml", |
||||
|
"views/trgm_index_view.xml"], |
||||
|
"depends": ["mail", |
||||
|
"base_search_fuzzy"], |
||||
|
"license": "AGPL-3", |
||||
|
'installable': True, |
||||
|
} |
@ -1,57 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * base_search_mail_content |
|
||||
# |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 12.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"Last-Translator: <>\n" |
|
||||
"Language-Team: \n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: \n" |
|
||||
|
|
||||
#. 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_trgm_index__field_id |
|
||||
msgid "Field" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: code:addons/base_search_mail_content/models/mail_thread.py:53 |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_users__message_content |
|
||||
#, python-format |
|
||||
msgid "Message Content" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_users__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_trgm_index |
|
||||
msgid "Trigram Index" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_trgm_index__field_id |
|
||||
msgid "You can either select a field of type 'text', 'char' or 'html'." |
|
||||
msgstr "" |
|
||||
|
|
@ -1,59 +1,47 @@ |
|||||
# Translation of Odoo Server. |
# Translation of Odoo Server. |
||||
# This file contains the translation of the following modules: |
# This file contains the translation of the following modules: |
||||
# * base_search_mail_content |
|
||||
|
# * base_search_mail_content |
||||
# |
# |
||||
|
# Translators: |
||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017 |
||||
msgid "" |
msgid "" |
||||
msgstr "" |
msgstr "" |
||||
"Project-Id-Version: Odoo Server 11.0\n" |
|
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
"Report-Msgid-Bugs-To: \n" |
"Report-Msgid-Bugs-To: \n" |
||||
"POT-Creation-Date: 2018-06-13 11:05+0000\n" |
|
||||
"PO-Revision-Date: 2018-06-13 11:05+0000\n" |
|
||||
"Last-Translator: <>\n" |
|
||||
"Language-Team: \n" |
|
||||
"Language: \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: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" |
||||
"MIME-Version: 1.0\n" |
"MIME-Version: 1.0\n" |
||||
"Content-Type: text/plain; charset=UTF-8\n" |
"Content-Type: text/plain; charset=UTF-8\n" |
||||
"Content-Transfer-Encoding: \n" |
"Content-Transfer-Encoding: \n" |
||||
"Plural-Forms: \n" |
|
||||
|
"Language: es\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
#. module: base_search_mail_content |
#. module: base_search_mail_content |
||||
#: model:ir.model,name:base_search_mail_content.model_mail_thread |
|
||||
msgid "Email Thread" |
|
||||
msgstr "Hilo de email" |
|
||||
|
#: 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 |
#. module: base_search_mail_content |
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_trgm_index__field_id |
|
||||
msgid "Field" |
|
||||
msgstr "" |
|
||||
|
#: model:ir.model,name:base_search_mail_content.model_mail_thread |
||||
|
msgid "Email Thread" |
||||
|
msgstr "Hilo correo electrónico" |
||||
|
|
||||
#. module: base_search_mail_content |
#. module: base_search_mail_content |
||||
#: code:addons/base_search_mail_content/models/mail_thread.py:53 |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_users__message_content |
|
||||
#, python-format |
|
||||
|
#: 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" |
msgid "Message Content" |
||||
msgstr "Contenido del mensaje" |
|
||||
|
msgstr "" |
||||
|
|
||||
#. module: base_search_mail_content |
#. module: base_search_mail_content |
||||
#: model:ir.model.fields,help:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_users__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_res_partner_message_content |
||||
msgid "Message content, to be used only in searches" |
msgid "Message content, to be used only in searches" |
||||
msgstr "Contenido del mensaje, para usarse en búsquedas" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: model:ir.model,name:base_search_mail_content.model_trgm_index |
|
||||
msgid "Trigram Index" |
|
||||
msgstr "" |
msgstr "" |
||||
|
|
||||
#. module: base_search_mail_content |
#. module: base_search_mail_content |
||||
#: model:ir.model.fields,help:base_search_mail_content.field_trgm_index__field_id |
|
||||
msgid "You can either select a field of type 'text', 'char' or 'html'." |
|
||||
msgstr "" |
|
||||
|
#: model:ir.model,name:base_search_mail_content.model_res_partner |
||||
|
msgid "Partner" |
||||
|
msgstr "Empresa" |
@ -1,64 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * base_search_mail_content |
|
||||
# |
|
||||
# Translators: |
|
||||
# Esther Martín Menéndez <esthermartin001@gmail.com>, 2017 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 9.0c\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-02-18 07:47+0000\n" |
|
||||
"PO-Revision-Date: 2017-02-18 07:47+0000\n" |
|
||||
"Last-Translator: Esther Martín Menéndez <esthermartin001@gmail.com>, 2017\n" |
|
||||
"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" |
|
||||
"Language: eu\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|
||||
|
|
||||
#. 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_trgm_index__field_id |
|
||||
msgid "Field" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: code:addons/base_search_mail_content/models/mail_thread.py:53 |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,field_description:base_search_mail_content.field_res_users__message_content |
|
||||
#, python-format |
|
||||
msgid "Message Content" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_account_analytic_account__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_thread__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_partner__message_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_res_users__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_trgm_index |
|
||||
msgid "Trigram Index" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: base_search_mail_content |
|
||||
#: model:ir.model.fields,help:base_search_mail_content.field_trgm_index__field_id |
|
||||
msgid "You can either select a field of type 'text', 'char' or 'html'." |
|
||||
msgstr "" |
|
||||
|
|
||||
#~ msgid "Partner" |
|
||||
#~ msgstr "Kidea" |
|
@ -1,8 +1,8 @@ |
|||||
# Copyright 2016-17 Eficent Business and IT Consulting Services S.L. |
|
||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Eficent Business and IT Consulting Services S.L. |
||||
# (http://www.eficent.com) |
# (http://www.eficent.com) |
||||
# Copyright 2016 Serpent Consulting Services Pvt. Ltd. |
|
||||
# (<http://www.serpentcs.com>) |
|
||||
|
# © 2016 Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
from . import mail_thread |
from . import mail_thread |
||||
from . import trgm_index |
|
||||
|
from . import res_partner |
@ -0,0 +1,13 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Eficent Business and IT Consulting Services S.L. |
||||
|
# (http://www.eficent.com) |
||||
|
# © 2016 Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>) |
||||
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from openerp import models |
||||
|
|
||||
|
|
||||
|
class Partner(models.Model): |
||||
|
|
||||
|
_name = 'res.partner' |
||||
|
_inherit = ['res.partner', 'mail.thread'] |
@ -1,17 +0,0 @@ |
|||||
# Copyright 2016 Eficent Business and IT Consulting Services S.L. |
|
||||
# Copyright 2016 Serpent Consulting Services Pvt. Ltd. |
|
||||
# Copyright 2017 LasLabs Inc. |
|
||||
# Copyright 2018 Tecnativa - Vicent Cubells |
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|
||||
|
|
||||
from odoo import fields, models |
|
||||
|
|
||||
|
|
||||
class TrgmIndex(models.Model): |
|
||||
_inherit = 'trgm.index' |
|
||||
|
|
||||
# We take advantage of field inheritance to redefine help instead of do |
|
||||
# inheritance in views that throws an error |
|
||||
field_id = fields.Many2one( |
|
||||
help="You can either select a field of type 'text', 'char' or 'html'." |
|
||||
) |
|
@ -1,9 +0,0 @@ |
|||||
* Jordi Ballester Alomar <jordi.ballester@eficent.com> |
|
||||
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com> |
|
||||
* Lois Rilo Antelo <lois.rilo@eficent.com> |
|
||||
* Aaron Henriquez <ahenriquez@eficent.com> |
|
||||
|
|
||||
* `Tecnativa <https://www.tecnativa.com>`_: |
|
||||
|
|
||||
* Vicent Cubells |
|
||||
* Ernesto Tejeda |
|
@ -1,19 +0,0 @@ |
|||||
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. |
|
@ -1,6 +0,0 @@ |
|||||
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/11.0/base_search_fuzzy>`_. |
|
||||
|
|
||||
This module installs by default the indexes that are required to |
|
||||
perform the searches on mail messages. |
|
@ -1,2 +0,0 @@ |
|||||
Go to any model that contains a chatter (e.g. Contacts, ...). Search |
|
||||
for content in field 'Message Content'. |
|
@ -1,457 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8" ?> |
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
||||
<head> |
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
||||
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" /> |
|
||||
<title>Base Search Mail Content</title> |
|
||||
<style type="text/css"> |
|
||||
|
|
||||
/* |
|
||||
:Author: David Goodger (goodger@python.org) |
|
||||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|
||||
:Copyright: This stylesheet has been placed in the public domain. |
|
||||
|
|
||||
Default cascading style sheet for the HTML output of Docutils. |
|
||||
|
|
||||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|
||||
customize this style sheet. |
|
||||
*/ |
|
||||
|
|
||||
/* used to remove borders from tables and images */ |
|
||||
.borderless, table.borderless td, table.borderless th { |
|
||||
border: 0 } |
|
||||
|
|
||||
table.borderless td, table.borderless th { |
|
||||
/* Override padding for "table.docutils td" with "! important". |
|
||||
The right padding separates the table cells. */ |
|
||||
padding: 0 0.5em 0 0 ! important } |
|
||||
|
|
||||
.first { |
|
||||
/* Override more specific margin styles with "! important". */ |
|
||||
margin-top: 0 ! important } |
|
||||
|
|
||||
.last, .with-subtitle { |
|
||||
margin-bottom: 0 ! important } |
|
||||
|
|
||||
.hidden { |
|
||||
display: none } |
|
||||
|
|
||||
.subscript { |
|
||||
vertical-align: sub; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
.superscript { |
|
||||
vertical-align: super; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
a.toc-backref { |
|
||||
text-decoration: none ; |
|
||||
color: black } |
|
||||
|
|
||||
blockquote.epigraph { |
|
||||
margin: 2em 5em ; } |
|
||||
|
|
||||
dl.docutils dd { |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|
||||
overflow: hidden; |
|
||||
} |
|
||||
|
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|
||||
dl.docutils dt { |
|
||||
font-weight: bold } |
|
||||
*/ |
|
||||
|
|
||||
div.abstract { |
|
||||
margin: 2em 5em } |
|
||||
|
|
||||
div.abstract p.topic-title { |
|
||||
font-weight: bold ; |
|
||||
text-align: center } |
|
||||
|
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|
||||
div.hint, div.important, div.note, div.tip, div.warning { |
|
||||
margin: 2em ; |
|
||||
border: medium outset ; |
|
||||
padding: 1em } |
|
||||
|
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|
||||
div.important p.admonition-title, div.note p.admonition-title, |
|
||||
div.tip p.admonition-title { |
|
||||
font-weight: bold ; |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
div.attention p.admonition-title, div.caution p.admonition-title, |
|
||||
div.danger p.admonition-title, div.error p.admonition-title, |
|
||||
div.warning p.admonition-title, .code .error { |
|
||||
color: red ; |
|
||||
font-weight: bold ; |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|
||||
compound paragraphs. |
|
||||
div.compound .compound-first, div.compound .compound-middle { |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
div.compound .compound-last, div.compound .compound-middle { |
|
||||
margin-top: 0.5em } |
|
||||
*/ |
|
||||
|
|
||||
div.dedication { |
|
||||
margin: 2em 5em ; |
|
||||
text-align: center ; |
|
||||
font-style: italic } |
|
||||
|
|
||||
div.dedication p.topic-title { |
|
||||
font-weight: bold ; |
|
||||
font-style: normal } |
|
||||
|
|
||||
div.figure { |
|
||||
margin-left: 2em ; |
|
||||
margin-right: 2em } |
|
||||
|
|
||||
div.footer, div.header { |
|
||||
clear: both; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
div.line-block { |
|
||||
display: block ; |
|
||||
margin-top: 1em ; |
|
||||
margin-bottom: 1em } |
|
||||
|
|
||||
div.line-block div.line-block { |
|
||||
margin-top: 0 ; |
|
||||
margin-bottom: 0 ; |
|
||||
margin-left: 1.5em } |
|
||||
|
|
||||
div.sidebar { |
|
||||
margin: 0 0 0.5em 1em ; |
|
||||
border: medium outset ; |
|
||||
padding: 1em ; |
|
||||
background-color: #ffffee ; |
|
||||
width: 40% ; |
|
||||
float: right ; |
|
||||
clear: right } |
|
||||
|
|
||||
div.sidebar p.rubric { |
|
||||
font-family: sans-serif ; |
|
||||
font-size: medium } |
|
||||
|
|
||||
div.system-messages { |
|
||||
margin: 5em } |
|
||||
|
|
||||
div.system-messages h1 { |
|
||||
color: red } |
|
||||
|
|
||||
div.system-message { |
|
||||
border: medium outset ; |
|
||||
padding: 1em } |
|
||||
|
|
||||
div.system-message p.system-message-title { |
|
||||
color: red ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
div.topic { |
|
||||
margin: 2em } |
|
||||
|
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|
||||
margin-top: 0.4em } |
|
||||
|
|
||||
h1.title { |
|
||||
text-align: center } |
|
||||
|
|
||||
h2.subtitle { |
|
||||
text-align: center } |
|
||||
|
|
||||
hr.docutils { |
|
||||
width: 75% } |
|
||||
|
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|
||||
clear: left ; |
|
||||
float: left ; |
|
||||
margin-right: 1em } |
|
||||
|
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|
||||
clear: right ; |
|
||||
float: right ; |
|
||||
margin-left: 1em } |
|
||||
|
|
||||
img.align-center, .figure.align-center, object.align-center { |
|
||||
display: block; |
|
||||
margin-left: auto; |
|
||||
margin-right: auto; |
|
||||
} |
|
||||
|
|
||||
table.align-center { |
|
||||
margin-left: auto; |
|
||||
margin-right: auto; |
|
||||
} |
|
||||
|
|
||||
.align-left { |
|
||||
text-align: left } |
|
||||
|
|
||||
.align-center { |
|
||||
clear: both ; |
|
||||
text-align: center } |
|
||||
|
|
||||
.align-right { |
|
||||
text-align: right } |
|
||||
|
|
||||
/* reset inner alignment in figures */ |
|
||||
div.align-right { |
|
||||
text-align: inherit } |
|
||||
|
|
||||
/* div.align-center * { */ |
|
||||
/* text-align: left } */ |
|
||||
|
|
||||
.align-top { |
|
||||
vertical-align: top } |
|
||||
|
|
||||
.align-middle { |
|
||||
vertical-align: middle } |
|
||||
|
|
||||
.align-bottom { |
|
||||
vertical-align: bottom } |
|
||||
|
|
||||
ol.simple, ul.simple { |
|
||||
margin-bottom: 1em } |
|
||||
|
|
||||
ol.arabic { |
|
||||
list-style: decimal } |
|
||||
|
|
||||
ol.loweralpha { |
|
||||
list-style: lower-alpha } |
|
||||
|
|
||||
ol.upperalpha { |
|
||||
list-style: upper-alpha } |
|
||||
|
|
||||
ol.lowerroman { |
|
||||
list-style: lower-roman } |
|
||||
|
|
||||
ol.upperroman { |
|
||||
list-style: upper-roman } |
|
||||
|
|
||||
p.attribution { |
|
||||
text-align: right ; |
|
||||
margin-left: 50% } |
|
||||
|
|
||||
p.caption { |
|
||||
font-style: italic } |
|
||||
|
|
||||
p.credits { |
|
||||
font-style: italic ; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
p.label { |
|
||||
white-space: nowrap } |
|
||||
|
|
||||
p.rubric { |
|
||||
font-weight: bold ; |
|
||||
font-size: larger ; |
|
||||
color: maroon ; |
|
||||
text-align: center } |
|
||||
|
|
||||
p.sidebar-title { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold ; |
|
||||
font-size: larger } |
|
||||
|
|
||||
p.sidebar-subtitle { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
p.topic-title { |
|
||||
font-weight: bold } |
|
||||
|
|
||||
pre.address { |
|
||||
margin-bottom: 0 ; |
|
||||
margin-top: 0 ; |
|
||||
font: inherit } |
|
||||
|
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|
||||
margin-left: 2em ; |
|
||||
margin-right: 2em } |
|
||||
|
|
||||
pre.code .ln { color: grey; } /* line numbers */ |
|
||||
pre.code, code { background-color: #eeeeee } |
|
||||
pre.code .comment, code .comment { color: #5C6576 } |
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|
||||
|
|
||||
span.classifier { |
|
||||
font-family: sans-serif ; |
|
||||
font-style: oblique } |
|
||||
|
|
||||
span.classifier-delimiter { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
span.interpreted { |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
span.option { |
|
||||
white-space: nowrap } |
|
||||
|
|
||||
span.pre { |
|
||||
white-space: pre } |
|
||||
|
|
||||
span.problematic { |
|
||||
color: red } |
|
||||
|
|
||||
span.section-subtitle { |
|
||||
/* font-size relative to parent (h1..h6 element) */ |
|
||||
font-size: 80% } |
|
||||
|
|
||||
table.citation { |
|
||||
border-left: solid 1px gray; |
|
||||
margin-left: 1px } |
|
||||
|
|
||||
table.docinfo { |
|
||||
margin: 2em 4em } |
|
||||
|
|
||||
table.docutils { |
|
||||
margin-top: 0.5em ; |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
table.footnote { |
|
||||
border-left: solid 1px black; |
|
||||
margin-left: 1px } |
|
||||
|
|
||||
table.docutils td, table.docutils th, |
|
||||
table.docinfo td, table.docinfo th { |
|
||||
padding-left: 0.5em ; |
|
||||
padding-right: 0.5em ; |
|
||||
vertical-align: top } |
|
||||
|
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|
||||
font-weight: bold ; |
|
||||
text-align: left ; |
|
||||
white-space: nowrap ; |
|
||||
padding-left: 0 } |
|
||||
|
|
||||
/* "booktabs" style (no vertical lines) */ |
|
||||
table.docutils.booktabs { |
|
||||
border: 0px; |
|
||||
border-top: 2px solid; |
|
||||
border-bottom: 2px solid; |
|
||||
border-collapse: collapse; |
|
||||
} |
|
||||
table.docutils.booktabs * { |
|
||||
border: 0px; |
|
||||
} |
|
||||
table.docutils.booktabs th { |
|
||||
border-bottom: thin solid; |
|
||||
text-align: left; |
|
||||
} |
|
||||
|
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|
||||
font-size: 100% } |
|
||||
|
|
||||
ul.auto-toc { |
|
||||
list-style-type: none } |
|
||||
|
|
||||
</style> |
|
||||
</head> |
|
||||
<body> |
|
||||
<div class="document" id="base-search-mail-content"> |
|
||||
<h1 class="title">Base Search Mail Content</h1> |
|
||||
|
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
!! This file is generated by oca-gen-addon-readme !! |
|
||||
!! 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/12.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-12-0/social-12-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/12.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 |
|
||||
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> |
|
||||
<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><strong>Table of contents</strong></p> |
|
||||
<div class="contents local topic" id="contents"> |
|
||||
<ul class="simple"> |
|
||||
<li><a class="reference internal" href="#installation" id="id1">Installation</a></li> |
|
||||
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li> |
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> |
|
||||
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> |
|
||||
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li> |
|
||||
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> |
|
||||
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> |
|
||||
</ul> |
|
||||
</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="installation"> |
|
||||
<h1><a class="toc-backref" href="#id1">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/11.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="#id2">Usage</a></h1> |
|
||||
<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="#id3">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 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:%2012.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"> |
|
||||
<h1><a class="toc-backref" href="#id4">Credits</a></h1> |
|
||||
<div class="section" id="authors"> |
|
||||
<h2><a class="toc-backref" href="#id5">Authors</a></h2> |
|
||||
<ul class="simple"> |
|
||||
<li>Eficent</li> |
|
||||
<li>SerpentCS</li> |
|
||||
<li>Tecnativa</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="contributors"> |
|
||||
<h2><a class="toc-backref" href="#id6">Contributors</a></h2> |
|
||||
<ul class="simple"> |
|
||||
<li>Jordi Ballester Alomar <<a class="reference external" href="mailto:jordi.ballester@eficent.com">jordi.ballester@eficent.com</a>></li> |
|
||||
<li>Serpent Consulting Services Pvt. Ltd. <<a class="reference external" href="mailto:support@serpentcs.com">support@serpentcs.com</a>></li> |
|
||||
<li>Lois Rilo Antelo <<a class="reference external" href="mailto:lois.rilo@eficent.com">lois.rilo@eficent.com</a>></li> |
|
||||
<li>Aaron Henriquez <<a class="reference external" href="mailto:ahenriquez@eficent.com">ahenriquez@eficent.com</a>></li> |
|
||||
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul> |
|
||||
<li>Vicent Cubells</li> |
|
||||
<li>Ernesto Tejeda</li> |
|
||||
</ul> |
|
||||
</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="maintainers"> |
|
||||
<h2><a class="toc-backref" href="#id7">Maintainers</a></h2> |
|
||||
<p>This module is maintained by the OCA.</p> |
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> |
|
||||
<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/12.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> |
|
||||
</div> |
|
||||
</body> |
|
||||
</html> |
|
@ -1,2 +0,0 @@ |
|||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
||||
from . import test_base_search_mail_content |
|
@ -1,24 +0,0 @@ |
|||||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
||||
# (http://www.eficent.com) |
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
||||
from odoo.tests.common import TransactionCase |
|
||||
|
|
||||
|
|
||||
class TestBaseSearchMailContent(TransactionCase): |
|
||||
def setUp(self): |
|
||||
super(TestBaseSearchMailContent, self).setUp() |
|
||||
self.channel_obj = self.env["mail.channel"] |
|
||||
|
|
||||
def test_base_search_mail_content_1(self): |
|
||||
res = self.channel_obj.search( |
|
||||
[('message_content', 'ilike', 'xxxyyyzzz')]) |
|
||||
self.assertFalse(res, "You have a channel with xxxyyyzzz :O") |
|
||||
|
|
||||
def test_base_search_mail_content_2(self): |
|
||||
res = self.channel_obj.load_views( |
|
||||
[[False, 'search']], {'load_fields': False, |
|
||||
'load_filters': True, |
|
||||
'toolbar': True}) |
|
||||
self.assertIn( |
|
||||
'message_content', res['fields_views']['search']['fields'], |
|
||||
"message_content field was not detected") |
|
@ -0,0 +1,29 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
|
||||
|
<record model="ir.ui.view" id="trgm_index_view_form"> |
||||
|
<field name="name">trgm.index.view.form</field> |
||||
|
<field name="model">trgm.index</field> |
||||
|
<field name="inherit_id" ref="base_search_fuzzy.trgm_index_view_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="field_id" position="attributes"> |
||||
|
<attribute name="domain">[('ttype', 'in', ['char', 'text', 'html'])]</attribute> |
||||
|
<attribute name="help">"You can either select a field of type 'text', 'char' or 'html'."</attribute> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.ui.view" id="trgm_index_view_tree"> |
||||
|
<field name="name">trgm.index.view.tree</field> |
||||
|
<field name="model">trgm.index</field> |
||||
|
<field name="inherit_id" ref="base_search_fuzzy.trgm_index_view_tree"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="field_id" position="attributes"> |
||||
|
<attribute name="help">"You can either select a field of type 'text', 'char' or 'html'."</attribute> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
@ -1,91 +1,71 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
======================== |
======================== |
||||
QWeb for email templates |
QWeb for email templates |
||||
======================== |
======================== |
||||
|
|
||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
!! This file is generated by oca-gen-addon-readme !! |
|
||||
!! changes will be overwritten. !! |
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
|
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|
||||
:target: https://odoo-community.org/page/development-status |
|
||||
:alt: Beta |
|
||||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|
||||
: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/12.0/email_template_qweb |
|
||||
:alt: OCA/social |
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
|
||||
:target: https://translation.odoo-community.org/projects/social-12-0/social-12-0-email_template_qweb |
|
||||
:alt: Translate me on Weblate |
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png |
|
||||
:target: https://runbot.odoo-community.org/runbot/205/12.0 |
|
||||
:alt: Try me on Runbot |
|
||||
|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5| |
|
||||
|
|
||||
This module was written to allow you to write email templates in QWeb instead |
This module was written to allow you to write email templates in QWeb instead |
||||
of jinja2. The advantage here is that with QWeb, you can make use of |
of jinja2. The advantage here is that with QWeb, you can make use of |
||||
inheritance and the ``call`` statement, which allows you to reuse designs and |
inheritance and the ``call`` statement, which allows you to reuse designs and |
||||
snippets in multiple templates, making your development process simpler. |
snippets in multiple templates, making your development process simpler. |
||||
Furthermore, QWeb views are easier to edit with the integrated ACE editor. |
|
||||
|
|
||||
**Table of contents** |
|
||||
|
|
||||
.. contents:: |
|
||||
:local: |
|
||||
|
|
||||
Usage |
Usage |
||||
===== |
===== |
||||
|
|
||||
To use this module, you need to: |
To use this module, you need to: |
||||
|
|
||||
#. Select `QWeb` in the field `Body templating engine` |
|
||||
#. Select a QWeb view to be used to render the body field |
|
||||
#. Apart from QWeb's standard variables, you also have access to ``object`` and ``email_template``, which are browse records of the current object and the email template in use, respectively. |
|
||||
|
* Select `QWeb` in the field `Body templating engine` |
||||
|
* Select a QWeb view to be used to render the body field |
||||
|
* Apart from QWeb's standard variables, you also have access to ``object`` and |
||||
|
``email_template``, which are browse records of the current object and the |
||||
|
email template in use, respectively. |
||||
|
|
||||
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
||||
|
:alt: Try me on Runbot |
||||
|
:target: https://runbot.odoo-community.org/runbot/149/8.0 |
||||
|
|
||||
|
Demo data contains an example on how to separate corporate identity from a |
||||
|
template's content. |
||||
|
|
||||
|
For further information, please visit: |
||||
|
|
||||
|
* https://www.odoo.com/forum/help-1 |
||||
|
|
||||
Bug Tracker |
Bug Tracker |
||||
=========== |
=========== |
||||
|
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_. |
|
||||
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/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 |
|
||||
`feedback <https://github.com/OCA/social/issues/new?body=module:%20email_template_qweb%0Aversion:%2012.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. |
|
||||
|
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback |
||||
|
`here <https://github.com/OCA/server-tools/issues/new?body=module:%20email_template_qweb%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
||||
|
|
||||
Credits |
Credits |
||||
======= |
======= |
||||
|
|
||||
Authors |
|
||||
~~~~~~~ |
|
||||
|
|
||||
* Therp BV |
|
||||
|
|
||||
Contributors |
Contributors |
||||
~~~~~~~~~~~~ |
|
||||
|
------------ |
||||
|
|
||||
* Holger Brunn <hbrunn@therp.nl> |
* Holger Brunn <hbrunn@therp.nl> |
||||
* Dave Lasley <dave@laslabs.com> |
* Dave Lasley <dave@laslabs.com> |
||||
* Carlos Lopez Mite <celm1990@gmail.com> |
|
||||
* `Tecnativa <https://www.tecnativa.com>`_: |
|
||||
|
|
||||
* Ernesto Tejeda |
|
||||
|
Do not contact contributors directly about help with questions or problems concerning |
||||
|
this addon, but use the `forum <https://www.odoo.com/forum/help-1>`_, |
||||
|
the `community mailing list <mailto:community@mail.odoo.com>`_, |
||||
|
or the `appropriate specialized mailinglist <https://odoo-community.org/groups>`_ for help, |
||||
|
and the bug tracker linked in `Bug Tracker`_ above for technical issues. |
||||
|
|
||||
Maintainers |
|
||||
~~~~~~~~~~~ |
|
||||
|
|
||||
This module is maintained by the OCA. |
|
||||
|
Maintainer |
||||
|
---------- |
||||
|
|
||||
.. image:: https://odoo-community.org/logo.png |
.. image:: https://odoo-community.org/logo.png |
||||
:alt: Odoo Community Association |
:alt: Odoo Community Association |
||||
:target: https://odoo-community.org |
:target: https://odoo-community.org |
||||
|
|
||||
|
This module is maintained by the OCA. |
||||
|
|
||||
OCA, or the Odoo Community Association, is a nonprofit organization whose |
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/12.0/email_template_qweb>`_ project on GitHub. |
|
||||
|
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
|
||||
|
To contribute to this module, please visit https://odoo-community.org. |
@ -1,3 +1,4 @@ |
|||||
# Copyright 2016 Therp BV <http://therp.nl> |
|
||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Therp BV <http://therp.nl> |
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
from . import models |
from . import models |
@ -1,69 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 10.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-02-10 11:20+0000\n" |
|
||||
"PO-Revision-Date: 2017-02-10 11:20+0000\n" |
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n" |
|
||||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" |
|
||||
"Language: de\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "Nachrichtenvorlagen Generator" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "Nachrichtenansicht" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "Sehr geehrter" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "E-Mail Vorlagen" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "Jinja2" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "QWeb Demo-E-Mail" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "Dies ist eine E-Mail-Vorlage aus qweb." |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "Zeige Stilarten" |
|
@ -1,69 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: social (9.0)\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2016-05-19 02:50+0000\n" |
|
||||
"PO-Revision-Date: 2016-05-18 14:54+0000\n" |
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" |
|
||||
"Language-Team: English (http://www.transifex.com/oca/OCA-social-9-0/language/" |
|
||||
"en/)\n" |
|
||||
"Language: en\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "Body templating engine" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "Body view" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "Dear" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "Email Templates" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "Jinja2" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "QWeb demo email" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "This is an email template using qweb." |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "View Architecture" |
|
@ -1,69 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
# Quentin THEURET <odoo@kerpeo.com>, 2017 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 10.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-07-22 09:45+0000\n" |
|
||||
"PO-Revision-Date: 2017-07-22 09:45+0000\n" |
|
||||
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2017\n" |
|
||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" |
|
||||
"Language: fr\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "Moteur de modèle de corps" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "Vue du corps" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "Cher" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "Modèles de courriel" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "Jinja2" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "Courriel QWeb de démonstration" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "Ceci est un modèle de courriel utilisant qweb." |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "Architecture de la vue" |
|
@ -1,70 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016 |
|
||||
# Marius Marolla <mariusmarolla@gmail.com>, 2017 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 10.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-05-17 01:02+0000\n" |
|
||||
"PO-Revision-Date: 2017-05-17 01:02+0000\n" |
|
||||
"Last-Translator: Marius Marolla <mariusmarolla@gmail.com>, 2017\n" |
|
||||
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" |
|
||||
"Language: it\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "Motore dei Modelli di Messaggio" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "Visualizzazione Messaggio" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "Gentile" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "Modelli Email" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "Jinja2" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "Demo Email QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "Questo è un modello di email basato su QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "Visualizza Architettura" |
|
@ -1,70 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
# Peter Hageman <hageman.p@gmail.com>, 2017 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 10.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-05-20 08:36+0000\n" |
|
||||
"PO-Revision-Date: 2017-05-20 08:36+0000\n" |
|
||||
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n" |
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" |
|
||||
"teams/23907/nl_NL/)\n" |
|
||||
"Language: nl_NL\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "Geachte" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "E-mailsjablonen" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "Jinja2" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "QWeb demo email" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "" |
|
@ -1,70 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * email_template_qweb |
|
||||
# |
|
||||
# Translators: |
|
||||
# falexandresilva <falexandresilva@gmail.com>, 2017 |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 10.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"POT-Creation-Date: 2017-07-22 00:50+0000\n" |
|
||||
"PO-Revision-Date: 2017-07-22 00:50+0000\n" |
|
||||
"Last-Translator: falexandresilva <falexandresilva@gmail.com>, 2017\n" |
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" |
|
||||
"teams/23907/pt_BR/)\n" |
|
||||
"Language: pt_BR\n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_type |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_type |
|
||||
msgid "Body templating engine" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_id |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_id |
|
||||
msgid "Body view" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "Dear" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model,name:email_template_qweb.model_mail_template |
|
||||
msgid "Email Templates" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "Jinja2" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: selection:email_template.preview,body_type:0 |
|
||||
#: selection:mail.template,body_type:0 |
|
||||
msgid "QWeb" |
|
||||
msgstr "QWeb" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:mail.template,subject:email_template_qweb.email_template_demo1 |
|
||||
msgid "QWeb demo email" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model_terms:ir.ui.view,arch_db:email_template_qweb.view_email_template_demo1 |
|
||||
msgid "This is an email template using qweb." |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: email_template_qweb |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_email_template_preview__body_view_arch |
|
||||
#: model:ir.model.fields,field_description:email_template_qweb.field_mail_template__body_view_arch |
|
||||
msgid "View Architecture" |
|
||||
msgstr "" |
|
@ -1,3 +1,4 @@ |
|||||
# Copyright 2016 Therp BV <http://therp.nl> |
|
||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Therp BV <http://therp.nl> |
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
from . import mail_template |
from . import mail_template |
@ -1,6 +0,0 @@ |
|||||
* Holger Brunn <hbrunn@therp.nl> |
|
||||
* Dave Lasley <dave@laslabs.com> |
|
||||
* Carlos Lopez Mite <celm1990@gmail.com> |
|
||||
* `Tecnativa <https://www.tecnativa.com>`_: |
|
||||
|
|
||||
* Ernesto Tejeda |
|
@ -1,5 +0,0 @@ |
|||||
This module was written to allow you to write email templates in QWeb instead |
|
||||
of jinja2. The advantage here is that with QWeb, you can make use of |
|
||||
inheritance and the ``call`` statement, which allows you to reuse designs and |
|
||||
snippets in multiple templates, making your development process simpler. |
|
||||
Furthermore, QWeb views are easier to edit with the integrated ACE editor. |
|
@ -1,5 +0,0 @@ |
|||||
To use this module, you need to: |
|
||||
|
|
||||
#. Select `QWeb` in the field `Body templating engine` |
|
||||
#. Select a QWeb view to be used to render the body field |
|
||||
#. Apart from QWeb's standard variables, you also have access to ``object`` and ``email_template``, which are browse records of the current object and the email template in use, respectively. |
|
@ -1,445 +0,0 @@ |
|||||
<?xml version="1.0" encoding="utf-8" ?> |
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
||||
<head> |
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
||||
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" /> |
|
||||
<title>QWeb for email templates</title> |
|
||||
<style type="text/css"> |
|
||||
|
|
||||
/* |
|
||||
:Author: David Goodger (goodger@python.org) |
|
||||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $ |
|
||||
:Copyright: This stylesheet has been placed in the public domain. |
|
||||
|
|
||||
Default cascading style sheet for the HTML output of Docutils. |
|
||||
|
|
||||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
|
||||
customize this style sheet. |
|
||||
*/ |
|
||||
|
|
||||
/* used to remove borders from tables and images */ |
|
||||
.borderless, table.borderless td, table.borderless th { |
|
||||
border: 0 } |
|
||||
|
|
||||
table.borderless td, table.borderless th { |
|
||||
/* Override padding for "table.docutils td" with "! important". |
|
||||
The right padding separates the table cells. */ |
|
||||
padding: 0 0.5em 0 0 ! important } |
|
||||
|
|
||||
.first { |
|
||||
/* Override more specific margin styles with "! important". */ |
|
||||
margin-top: 0 ! important } |
|
||||
|
|
||||
.last, .with-subtitle { |
|
||||
margin-bottom: 0 ! important } |
|
||||
|
|
||||
.hidden { |
|
||||
display: none } |
|
||||
|
|
||||
.subscript { |
|
||||
vertical-align: sub; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
.superscript { |
|
||||
vertical-align: super; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
a.toc-backref { |
|
||||
text-decoration: none ; |
|
||||
color: black } |
|
||||
|
|
||||
blockquote.epigraph { |
|
||||
margin: 2em 5em ; } |
|
||||
|
|
||||
dl.docutils dd { |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
|
||||
overflow: hidden; |
|
||||
} |
|
||||
|
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms |
|
||||
dl.docutils dt { |
|
||||
font-weight: bold } |
|
||||
*/ |
|
||||
|
|
||||
div.abstract { |
|
||||
margin: 2em 5em } |
|
||||
|
|
||||
div.abstract p.topic-title { |
|
||||
font-weight: bold ; |
|
||||
text-align: center } |
|
||||
|
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error, |
|
||||
div.hint, div.important, div.note, div.tip, div.warning { |
|
||||
margin: 2em ; |
|
||||
border: medium outset ; |
|
||||
padding: 1em } |
|
||||
|
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title, |
|
||||
div.important p.admonition-title, div.note p.admonition-title, |
|
||||
div.tip p.admonition-title { |
|
||||
font-weight: bold ; |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
div.attention p.admonition-title, div.caution p.admonition-title, |
|
||||
div.danger p.admonition-title, div.error p.admonition-title, |
|
||||
div.warning p.admonition-title, .code .error { |
|
||||
color: red ; |
|
||||
font-weight: bold ; |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in |
|
||||
compound paragraphs. |
|
||||
div.compound .compound-first, div.compound .compound-middle { |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
div.compound .compound-last, div.compound .compound-middle { |
|
||||
margin-top: 0.5em } |
|
||||
*/ |
|
||||
|
|
||||
div.dedication { |
|
||||
margin: 2em 5em ; |
|
||||
text-align: center ; |
|
||||
font-style: italic } |
|
||||
|
|
||||
div.dedication p.topic-title { |
|
||||
font-weight: bold ; |
|
||||
font-style: normal } |
|
||||
|
|
||||
div.figure { |
|
||||
margin-left: 2em ; |
|
||||
margin-right: 2em } |
|
||||
|
|
||||
div.footer, div.header { |
|
||||
clear: both; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
div.line-block { |
|
||||
display: block ; |
|
||||
margin-top: 1em ; |
|
||||
margin-bottom: 1em } |
|
||||
|
|
||||
div.line-block div.line-block { |
|
||||
margin-top: 0 ; |
|
||||
margin-bottom: 0 ; |
|
||||
margin-left: 1.5em } |
|
||||
|
|
||||
div.sidebar { |
|
||||
margin: 0 0 0.5em 1em ; |
|
||||
border: medium outset ; |
|
||||
padding: 1em ; |
|
||||
background-color: #ffffee ; |
|
||||
width: 40% ; |
|
||||
float: right ; |
|
||||
clear: right } |
|
||||
|
|
||||
div.sidebar p.rubric { |
|
||||
font-family: sans-serif ; |
|
||||
font-size: medium } |
|
||||
|
|
||||
div.system-messages { |
|
||||
margin: 5em } |
|
||||
|
|
||||
div.system-messages h1 { |
|
||||
color: red } |
|
||||
|
|
||||
div.system-message { |
|
||||
border: medium outset ; |
|
||||
padding: 1em } |
|
||||
|
|
||||
div.system-message p.system-message-title { |
|
||||
color: red ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
div.topic { |
|
||||
margin: 2em } |
|
||||
|
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|
||||
margin-top: 0.4em } |
|
||||
|
|
||||
h1.title { |
|
||||
text-align: center } |
|
||||
|
|
||||
h2.subtitle { |
|
||||
text-align: center } |
|
||||
|
|
||||
hr.docutils { |
|
||||
width: 75% } |
|
||||
|
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left { |
|
||||
clear: left ; |
|
||||
float: left ; |
|
||||
margin-right: 1em } |
|
||||
|
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right { |
|
||||
clear: right ; |
|
||||
float: right ; |
|
||||
margin-left: 1em } |
|
||||
|
|
||||
img.align-center, .figure.align-center, object.align-center { |
|
||||
display: block; |
|
||||
margin-left: auto; |
|
||||
margin-right: auto; |
|
||||
} |
|
||||
|
|
||||
table.align-center { |
|
||||
margin-left: auto; |
|
||||
margin-right: auto; |
|
||||
} |
|
||||
|
|
||||
.align-left { |
|
||||
text-align: left } |
|
||||
|
|
||||
.align-center { |
|
||||
clear: both ; |
|
||||
text-align: center } |
|
||||
|
|
||||
.align-right { |
|
||||
text-align: right } |
|
||||
|
|
||||
/* reset inner alignment in figures */ |
|
||||
div.align-right { |
|
||||
text-align: inherit } |
|
||||
|
|
||||
/* div.align-center * { */ |
|
||||
/* text-align: left } */ |
|
||||
|
|
||||
.align-top { |
|
||||
vertical-align: top } |
|
||||
|
|
||||
.align-middle { |
|
||||
vertical-align: middle } |
|
||||
|
|
||||
.align-bottom { |
|
||||
vertical-align: bottom } |
|
||||
|
|
||||
ol.simple, ul.simple { |
|
||||
margin-bottom: 1em } |
|
||||
|
|
||||
ol.arabic { |
|
||||
list-style: decimal } |
|
||||
|
|
||||
ol.loweralpha { |
|
||||
list-style: lower-alpha } |
|
||||
|
|
||||
ol.upperalpha { |
|
||||
list-style: upper-alpha } |
|
||||
|
|
||||
ol.lowerroman { |
|
||||
list-style: lower-roman } |
|
||||
|
|
||||
ol.upperroman { |
|
||||
list-style: upper-roman } |
|
||||
|
|
||||
p.attribution { |
|
||||
text-align: right ; |
|
||||
margin-left: 50% } |
|
||||
|
|
||||
p.caption { |
|
||||
font-style: italic } |
|
||||
|
|
||||
p.credits { |
|
||||
font-style: italic ; |
|
||||
font-size: smaller } |
|
||||
|
|
||||
p.label { |
|
||||
white-space: nowrap } |
|
||||
|
|
||||
p.rubric { |
|
||||
font-weight: bold ; |
|
||||
font-size: larger ; |
|
||||
color: maroon ; |
|
||||
text-align: center } |
|
||||
|
|
||||
p.sidebar-title { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold ; |
|
||||
font-size: larger } |
|
||||
|
|
||||
p.sidebar-subtitle { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
p.topic-title { |
|
||||
font-weight: bold } |
|
||||
|
|
||||
pre.address { |
|
||||
margin-bottom: 0 ; |
|
||||
margin-top: 0 ; |
|
||||
font: inherit } |
|
||||
|
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
|
||||
margin-left: 2em ; |
|
||||
margin-right: 2em } |
|
||||
|
|
||||
pre.code .ln { color: grey; } /* line numbers */ |
|
||||
pre.code, code { background-color: #eeeeee } |
|
||||
pre.code .comment, code .comment { color: #5C6576 } |
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 } |
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289} |
|
||||
|
|
||||
span.classifier { |
|
||||
font-family: sans-serif ; |
|
||||
font-style: oblique } |
|
||||
|
|
||||
span.classifier-delimiter { |
|
||||
font-family: sans-serif ; |
|
||||
font-weight: bold } |
|
||||
|
|
||||
span.interpreted { |
|
||||
font-family: sans-serif } |
|
||||
|
|
||||
span.option { |
|
||||
white-space: nowrap } |
|
||||
|
|
||||
span.pre { |
|
||||
white-space: pre } |
|
||||
|
|
||||
span.problematic { |
|
||||
color: red } |
|
||||
|
|
||||
span.section-subtitle { |
|
||||
/* font-size relative to parent (h1..h6 element) */ |
|
||||
font-size: 80% } |
|
||||
|
|
||||
table.citation { |
|
||||
border-left: solid 1px gray; |
|
||||
margin-left: 1px } |
|
||||
|
|
||||
table.docinfo { |
|
||||
margin: 2em 4em } |
|
||||
|
|
||||
table.docutils { |
|
||||
margin-top: 0.5em ; |
|
||||
margin-bottom: 0.5em } |
|
||||
|
|
||||
table.footnote { |
|
||||
border-left: solid 1px black; |
|
||||
margin-left: 1px } |
|
||||
|
|
||||
table.docutils td, table.docutils th, |
|
||||
table.docinfo td, table.docinfo th { |
|
||||
padding-left: 0.5em ; |
|
||||
padding-right: 0.5em ; |
|
||||
vertical-align: top } |
|
||||
|
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name { |
|
||||
font-weight: bold ; |
|
||||
text-align: left ; |
|
||||
white-space: nowrap ; |
|
||||
padding-left: 0 } |
|
||||
|
|
||||
/* "booktabs" style (no vertical lines) */ |
|
||||
table.docutils.booktabs { |
|
||||
border: 0px; |
|
||||
border-top: 2px solid; |
|
||||
border-bottom: 2px solid; |
|
||||
border-collapse: collapse; |
|
||||
} |
|
||||
table.docutils.booktabs * { |
|
||||
border: 0px; |
|
||||
} |
|
||||
table.docutils.booktabs th { |
|
||||
border-bottom: thin solid; |
|
||||
text-align: left; |
|
||||
} |
|
||||
|
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|
||||
font-size: 100% } |
|
||||
|
|
||||
ul.auto-toc { |
|
||||
list-style-type: none } |
|
||||
|
|
||||
</style> |
|
||||
</head> |
|
||||
<body> |
|
||||
<div class="document" id="qweb-for-email-templates"> |
|
||||
<h1 class="title">QWeb for email templates</h1> |
|
||||
|
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
!! This file is generated by oca-gen-addon-readme !! |
|
||||
!! 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/12.0/email_template_qweb"><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-12-0/social-12-0-email_template_qweb"><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/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> |
|
||||
<p>This module was written to allow you to write email templates in QWeb instead |
|
||||
of jinja2. The advantage here is that with QWeb, you can make use of |
|
||||
inheritance and the <tt class="docutils literal">call</tt> statement, which allows you to reuse designs and |
|
||||
snippets in multiple templates, making your development process simpler. |
|
||||
Furthermore, QWeb views are easier to edit with the integrated ACE editor.</p> |
|
||||
<p><strong>Table of contents</strong></p> |
|
||||
<div class="contents local topic" id="contents"> |
|
||||
<ul class="simple"> |
|
||||
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li> |
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> |
|
||||
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> |
|
||||
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li> |
|
||||
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> |
|
||||
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> |
|
||||
</ul> |
|
||||
</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="usage"> |
|
||||
<h1><a class="toc-backref" href="#id1">Usage</a></h1> |
|
||||
<p>To use this module, you need to:</p> |
|
||||
<ol class="arabic simple"> |
|
||||
<li>Select <cite>QWeb</cite> in the field <cite>Body templating engine</cite></li> |
|
||||
<li>Select a QWeb view to be used to render the body field</li> |
|
||||
<li>Apart from QWeb’s standard variables, you also have access to <tt class="docutils literal">object</tt> and <tt class="docutils literal">email_template</tt>, which are browse records of the current object and the email template in use, respectively.</li> |
|
||||
</ol> |
|
||||
</div> |
|
||||
<div class="section" id="bug-tracker"> |
|
||||
<h1><a class="toc-backref" href="#id2">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 smashing it by providing a detailed and welcomed |
|
||||
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20email_template_qweb%0Aversion:%2012.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"> |
|
||||
<h1><a class="toc-backref" href="#id3">Credits</a></h1> |
|
||||
<div class="section" id="authors"> |
|
||||
<h2><a class="toc-backref" href="#id4">Authors</a></h2> |
|
||||
<ul class="simple"> |
|
||||
<li>Therp BV</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="contributors"> |
|
||||
<h2><a class="toc-backref" href="#id5">Contributors</a></h2> |
|
||||
<ul> |
|
||||
<li><p class="first">Holger Brunn <<a class="reference external" href="mailto:hbrunn@therp.nl">hbrunn@therp.nl</a>></p> |
|
||||
</li> |
|
||||
<li><p class="first">Dave Lasley <<a class="reference external" href="mailto:dave@laslabs.com">dave@laslabs.com</a>></p> |
|
||||
</li> |
|
||||
<li><p class="first">Carlos Lopez Mite <<a class="reference external" href="mailto:celm1990@gmail.com">celm1990@gmail.com</a>></p> |
|
||||
</li> |
|
||||
<li><p class="first"><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:</p> |
|
||||
<blockquote> |
|
||||
<ul class="simple"> |
|
||||
<li>Ernesto Tejeda</li> |
|
||||
</ul> |
|
||||
</blockquote> |
|
||||
</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
<div class="section" id="maintainers"> |
|
||||
<h2><a class="toc-backref" href="#id6">Maintainers</a></h2> |
|
||||
<p>This module is maintained by the OCA.</p> |
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> |
|
||||
<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/12.0/email_template_qweb">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> |
|
||||
</div> |
|
||||
</body> |
|
||||
</html> |
|
@ -1,3 +1,4 @@ |
|||||
# Copyright 2016 Therp BV <http://therp.nl> |
|
||||
|
# -*- coding: utf-8 -*- |
||||
|
# © 2016 Therp BV <http://therp.nl> |
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
from . import test_mail_template_qweb |
from . import test_mail_template_qweb |
@ -1,94 +0,0 @@ |
|||||
================ |
|
||||
Activities board |
|
||||
================ |
|
||||
|
|
||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
!! This file is generated by oca-gen-addon-readme !! |
|
||||
!! changes will be overwritten. !! |
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
||||
|
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
|
||||
:target: https://odoo-community.org/page/development-status |
|
||||
:alt: Beta |
|
||||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
|
||||
: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/12.0/mail_activity_board |
|
||||
:alt: OCA/social |
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
|
||||
:target: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_board |
|
||||
:alt: Translate me on Weblate |
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png |
|
||||
:target: https://runbot.odoo-community.org/runbot/205/12.0 |
|
||||
:alt: Try me on Runbot |
|
||||
|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5| |
|
||||
|
|
||||
This module adds an activity board with form, tree, kanban, calendar, pivot, graph and search views. |
|
||||
|
|
||||
|
|
||||
**Table of contents** |
|
||||
|
|
||||
.. contents:: |
|
||||
:local: |
|
||||
|
|
||||
Usage |
|
||||
===== |
|
||||
|
|
||||
To use this module, you need to: |
|
||||
|
|
||||
#. Access to the views from menu Boards. |
|
||||
|
|
||||
A smartButton of activities is added in the mail thread from form view. |
|
||||
From this smartButton is linked to the activity board, to the view tree, |
|
||||
which shows the activities related to the opportunity. |
|
||||
|
|
||||
From the form view of the activity you can navigate to the origin of the activity. |
|
||||
|
|
||||
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 smashing it by providing a detailed and welcomed |
|
||||
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_activity_board%0Aversion:%2012.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. |
|
||||
|
|
||||
Credits |
|
||||
======= |
|
||||
|
|
||||
Authors |
|
||||
~~~~~~~ |
|
||||
|
|
||||
* SDi |
|
||||
* David Juaneda |
|
||||
|
|
||||
Contributors |
|
||||
~~~~~~~~~~~~ |
|
||||
|
|
||||
* `SDI <https://www.sdi.es>`_: |
|
||||
|
|
||||
* David Juaneda |
|
||||
|
|
||||
* `Eficent <https://www.eficent.com>`_: |
|
||||
|
|
||||
* Miquel Raïch (miquel.raich@eficent.com) |
|
||||
|
|
||||
Maintainers |
|
||||
~~~~~~~~~~~ |
|
||||
|
|
||||
This module is maintained by the OCA. |
|
||||
|
|
||||
.. image:: https://odoo-community.org/logo.png |
|
||||
:alt: Odoo Community Association |
|
||||
:target: https://odoo-community.org |
|
||||
|
|
||||
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/12.0/mail_activity_board>`_ project on GitHub. |
|
||||
|
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
|
@ -1 +0,0 @@ |
|||||
from . import models |
|
@ -1,24 +0,0 @@ |
|||||
# Copyright 2018 David Juaneda - <djuaneda@sdi.es> |
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
||||
{ |
|
||||
'name': 'Activities board', |
|
||||
'summary': 'Add Activity Boards', |
|
||||
'version': '12.0.1.0.0', |
|
||||
'development_status': 'Beta', |
|
||||
'category': 'Social Network', |
|
||||
'website': 'https://github.com/OCA/social', |
|
||||
'author': 'SDi, David Juaneda, Odoo Community Association (OCA)', |
|
||||
'license': 'AGPL-3', |
|
||||
'installable': True, |
|
||||
'depends': [ |
|
||||
'calendar', |
|
||||
'board', |
|
||||
], |
|
||||
'data': [ |
|
||||
'views/templates.xml', |
|
||||
'views/mail_activity_view.xml', |
|
||||
], |
|
||||
'qweb': [ |
|
||||
'static/src/xml/inherit_chatter.xml', |
|
||||
] |
|
||||
} |
|
@ -1,113 +0,0 @@ |
|||||
# Translation of Odoo Server. |
|
||||
# This file contains the translation of the following modules: |
|
||||
# * mail_activity_board |
|
||||
# |
|
||||
msgid "" |
|
||||
msgstr "" |
|
||||
"Project-Id-Version: Odoo Server 12.0\n" |
|
||||
"Report-Msgid-Bugs-To: \n" |
|
||||
"Last-Translator: <>\n" |
|
||||
"Language-Team: \n" |
|
||||
"MIME-Version: 1.0\n" |
|
||||
"Content-Type: text/plain; charset=UTF-8\n" |
|
||||
"Content-Transfer-Encoding: \n" |
|
||||
"Plural-Forms: \n" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "Act. next 6 months" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "Act. next month" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#. openerp-web |
|
||||
#: code:addons/mail_activity_board/static/src/xml/inherit_chatter.xml:8 |
|
||||
#: model:ir.actions.act_window,name:mail_activity_board.open_boards_activities |
|
||||
#: model:ir.ui.menu,name:mail_activity_board.board_menu_activities |
|
||||
#, python-format |
|
||||
msgid "Activities" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model,name:mail_activity_board.model_mail_activity |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_form_board |
|
||||
msgid "Activity" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_form_board |
|
||||
msgid "Activity Form" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model,name:mail_activity_board.model_mail_activity_mixin |
|
||||
msgid "Activity Mixin" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model.fields,field_description:mail_activity_board.field_mail_activity__calendar_event_id_partner_ids |
|
||||
msgid "Attendees" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model.fields,field_description:mail_activity_board.field_mail_activity__duration |
|
||||
msgid "Duration" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_form_board |
|
||||
msgid "Log a note..." |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model.fields,field_description:mail_activity_board.field_mail_activity__res_model_id_name |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "Origin" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#. openerp-web |
|
||||
#: code:addons/mail_activity_board/static/src/xml/inherit_chatter.xml:7 |
|
||||
#, python-format |
|
||||
msgid "See activities list" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "Show activities scheduled for next 6 months." |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "Show activities scheduled for next month." |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model.fields,field_description:mail_activity_board.field_mail_activity__calendar_event_id_start |
|
||||
msgid "Start" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model:ir.model.fields,help:mail_activity_board.field_mail_activity__calendar_event_id_start |
|
||||
msgid "Start date of an event, without time for full days events" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_form_board |
|
||||
msgid "Start meeting" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_search |
|
||||
msgid "User" |
|
||||
msgstr "" |
|
||||
|
|
||||
#. module: mail_activity_board |
|
||||
#: model_terms:ir.ui.view,arch_db:mail_activity_board.mail_activity_view_form_board |
|
||||
msgid "e.g. Discuss proposal" |
|
||||
msgstr "" |
|
||||
|
|
@ -1,2 +0,0 @@ |
|||||
from . import mail_activity |
|
||||
from . import mail_activity_mixin |
|
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue