Browse Source
Merge remote-tracking branch 'upstream/11.0' into 12.0-3247df878d074f045bc8a0a679554ddd22f28f70
pull/178/head
Merge remote-tracking branch 'upstream/11.0' into 12.0-3247df878d074f045bc8a0a679554ddd22f28f70
pull/178/head
KolushovAlexandr
6 years ago
No known key found for this signature in database
GPG Key ID: C3E04B793421FD2
12 changed files with 300 additions and 4 deletions
-
2README.md
-
35mail_all/i18n/de.po
-
35mail_archives/i18n/de.po
-
30mail_base/i18n/de.po
-
6mail_multi_website/doc/index.rst
-
2mail_multi_website/models/mail_template.py
-
48mail_private/static/src/js/test_private.js
-
3mail_private/template.xml
-
4mail_private/tests/__init__.py
-
32mail_private/tests/test_js.py
-
66mail_sent/i18n/de.po
-
41mail_to/i18n/de.po
@ -0,0 +1,35 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * mail_all |
||||
|
# |
||||
|
# Translators: |
||||
|
# Dawid Runowski <dawrun@outlook.com>, 2019 |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 11.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2018-05-05 23:09+0000\n" |
||||
|
"PO-Revision-Date: 2018-04-21 00:05+0000\n" |
||||
|
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n" |
||||
|
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: de\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
|
#. module: mail_all |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_all/static/src/js/mail_all.js:49 |
||||
|
#: code:addons/mail_all/static/src/xml/menu.xml:7 |
||||
|
#, python-format |
||||
|
msgid "All messages" |
||||
|
msgstr "Alle Nachrichten" |
||||
|
|
||||
|
#. module: mail_all |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_all/static/src/xml/menu.xml:15 |
||||
|
#, python-format |
||||
|
msgid "No messages" |
||||
|
msgstr "Keine Nachrichten" |
@ -0,0 +1,35 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * mail_archives |
||||
|
# |
||||
|
# Translators: |
||||
|
# Dawid Runowski <dawrun@outlook.com>, 2019 |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 11.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2018-05-05 23:09+0000\n" |
||||
|
"PO-Revision-Date: 2018-04-21 00:05+0000\n" |
||||
|
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n" |
||||
|
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: de\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
|
#. module: mail_archives |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_archives/static/src/js/archives.js:68 |
||||
|
#: code:addons/mail_archives/static/src/xml/menu.xml:7 |
||||
|
#, python-format |
||||
|
msgid "Archive" |
||||
|
msgstr "Archiv" |
||||
|
|
||||
|
#. module: mail_archives |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_archives/static/src/xml/menu.xml:15 |
||||
|
#, python-format |
||||
|
msgid "Archive is empty" |
||||
|
msgstr "Archiv ist leer" |
@ -0,0 +1,30 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * mail_base |
||||
|
# |
||||
|
# Translators: |
||||
|
# Dawid Runowski <dawrun@outlook.com>, 2019 |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 11.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2018-05-05 23:09+0000\n" |
||||
|
"PO-Revision-Date: 2017-11-28 13:59+0000\n" |
||||
|
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n" |
||||
|
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: de\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
|
#. module: mail_base |
||||
|
#: model:ir.model,name:mail_base.model_mail_compose_message |
||||
|
msgid "Email composition wizard" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: mail_base |
||||
|
#: model:ir.model,name:mail_base.model_mail_message |
||||
|
msgid "Message" |
||||
|
msgstr "Nachricht" |
@ -0,0 +1,48 @@ |
|||||
|
/* Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
||||
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).*/
|
||||
|
odoo.define('mail_private.tour', function (require) { |
||||
|
"use strict"; |
||||
|
|
||||
|
var tour = require("web_tour.tour"); |
||||
|
var core = require('web.core'); |
||||
|
var _t = core._t; |
||||
|
|
||||
|
var email = 'mail_private test email'; |
||||
|
var steps = [{ |
||||
|
trigger: '.o_thread_message strong.o_mail_redirect:contains("Agrolait")', |
||||
|
content: _t("Open Partners Form"), |
||||
|
position: 'bottom', |
||||
|
}, { |
||||
|
trigger: "button.oe_compose_post_private", |
||||
|
content: _t("Click on Private mail creating button"), |
||||
|
position: "bottom" |
||||
|
}, { |
||||
|
// for some reason (due to tricky renderings) button.oe_composer_uncheck could not be find by the tour manager
|
||||
|
trigger: ".o_control_panel.o_breadcrumb_full li.active", |
||||
|
content: _t("Dummy action"), |
||||
|
}, { |
||||
|
trigger: "button.oe_composer_uncheck", |
||||
|
extra_trigger: "button.oe_composer_uncheck", |
||||
|
content: _t("Uncheck all Followers"), |
||||
|
timeout: 10000, |
||||
|
}, { |
||||
|
trigger: "div.o_composer_suggested_partners input:first", |
||||
|
content: _t("Check the first one"), |
||||
|
}, { |
||||
|
trigger: "textarea.o_composer_text_field:first", |
||||
|
content: _t("Write some email"), |
||||
|
run: function() { |
||||
|
$('textarea.o_composer_text_field:first').val(email); |
||||
|
}, |
||||
|
}, { |
||||
|
trigger: ".o_composer_send .o_composer_button_send", |
||||
|
content: _t("Send email"), |
||||
|
}, { |
||||
|
trigger: ".o_mail_thread .o_thread_message:contains(" + email + ")", |
||||
|
content: _t("Send email"), |
||||
|
} |
||||
|
]; |
||||
|
|
||||
|
tour.register('mail_private_tour', { test: true, url: '/web' }, steps); |
||||
|
|
||||
|
}); |
@ -0,0 +1,4 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). |
||||
|
|
||||
|
from . import test_js |
@ -0,0 +1,32 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
||||
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). |
||||
|
|
||||
|
import odoo.tests |
||||
|
from odoo.api import Environment |
||||
|
|
||||
|
|
||||
|
@odoo.tests.common.at_install(True) |
||||
|
@odoo.tests.common.post_install(True) |
||||
|
class TestUi(odoo.tests.HttpCase): |
||||
|
|
||||
|
def test_01_mail_private(self): |
||||
|
# needed because tests are run before the module is marked as |
||||
|
# installed. In js web will only load qweb coming from modules |
||||
|
# that are returned by the backend in module_boot. Without |
||||
|
# this you end up with js, css but no qweb. |
||||
|
cr = self.registry.cursor() |
||||
|
env = Environment(cr, self.uid, {}) |
||||
|
env['ir.module.module'].search([('name', '=', 'mail_private')], limit=1).state = 'installed' |
||||
|
cr.release() |
||||
|
|
||||
|
env = Environment(self.registry.test_cr, self.uid, {}) |
||||
|
partners = env['res.partner'].search([]) |
||||
|
new_follower = env['res.partner'].search([('name', 'ilike', 'Ja')]) |
||||
|
for partner in partners: |
||||
|
partner.message_subscribe(new_follower.ids, []) |
||||
|
|
||||
|
self.phantom_js("/web", |
||||
|
"odoo.__DEBUG__.services['web_tour.tour'].run('mail_private_tour', 1000)", |
||||
|
"odoo.__DEBUG__.services['web_tour.tour'].tours.mail_private_tour.ready", |
||||
|
login="admin", timeout=90) |
@ -0,0 +1,66 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * mail_sent |
||||
|
# |
||||
|
# Translators: |
||||
|
# Dawid Runowski <dawrun@outlook.com>, 2019 |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 11.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2018-05-05 23:09+0000\n" |
||||
|
"PO-Revision-Date: 2018-04-21 00:05+0000\n" |
||||
|
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n" |
||||
|
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: de\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#: model:ir.model,name:mail_sent.model_mail_compose_message |
||||
|
msgid "Email composition wizard" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#: model:ir.model,name:mail_sent.model_mail_message |
||||
|
msgid "Message" |
||||
|
msgstr "Nachricht" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_sent/static/src/xml/menu.xml:15 |
||||
|
#, python-format |
||||
|
msgid "No sent messages" |
||||
|
msgstr "Keine Nachrichten wurden versandt" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_sent/static/src/js/sent.js:61 |
||||
|
#: code:addons/mail_sent/static/src/xml/menu.xml:7 |
||||
|
#: model:ir.model.fields,field_description:mail_sent.field_mail_compose_message_sent |
||||
|
#: model:ir.model.fields,field_description:mail_sent.field_mail_mail_sent |
||||
|
#: model:ir.model.fields,field_description:mail_sent.field_mail_message_sent |
||||
|
#, python-format |
||||
|
msgid "Sent" |
||||
|
msgstr "versandt" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#: model:ir.model.fields,help:mail_sent.field_mail_mail_sent |
||||
|
#: model:ir.model.fields,help:mail_sent.field_mail_message_sent |
||||
|
msgid "Was message sent to someone" |
||||
|
msgstr "Die Nachricht wurde an jmdn versandt" |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_sent/static/src/xml/menu.xml:16 |
||||
|
#, python-format |
||||
|
msgid "You can send messages and then these messages will appear here." |
||||
|
msgstr "dann erscheinen diese Nachrichten hier." |
||||
|
|
||||
|
#. module: mail_sent |
||||
|
#: model:ir.model.fields,help:mail_sent.field_mail_compose_message_sent |
||||
|
msgid "dummy field to fix inherit error" |
||||
|
msgstr "" |
@ -0,0 +1,41 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * mail_to |
||||
|
# |
||||
|
# Translators: |
||||
|
# Dawid Runowski <dawrun@outlook.com>, 2019 |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 11.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2018-05-05 23:09+0000\n" |
||||
|
"PO-Revision-Date: 2018-04-21 00:05+0000\n" |
||||
|
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n" |
||||
|
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: de\n" |
||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
||||
|
|
||||
|
#. module: mail_to |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_to/static/src/xml/recipient.xml:6 |
||||
|
#, python-format |
||||
|
msgid "To:" |
||||
|
msgstr "zu:" |
||||
|
|
||||
|
#. module: mail_to |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_to/static/src/xml/recipient.xml:15 |
||||
|
#, python-format |
||||
|
msgid "and" |
||||
|
msgstr "un" |
||||
|
|
||||
|
#. module: mail_to |
||||
|
#. openerp-web |
||||
|
#: code:addons/mail_to/static/src/xml/recipient.xml:16 |
||||
|
#, python-format |
||||
|
msgid "more" |
||||
|
msgstr "mehr" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue