diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f03f750fce9..1994b0a9dc2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -46,9 +46,6 @@ /addons/im_livechat/ @odoo/rd-discuss @odoo/rd-sm -/addons/im_support/ @odoo/rd-discuss -/addons/im_support/models/ir_http.py @odoo/rd-discuss @odoo/rd-website - /addons/mail/ @odoo/rd-discuss /addons/mail/**/*.py @odoo/rd-discuss @odoo/rd-sm /addons/mail/models/ir_http.py @odoo/rd-discuss @odoo/rd-sm @odoo/rd-website diff --git a/.tx/config b/.tx/config index 49b44bce9fa..06917f636a9 100644 --- a/.tx/config +++ b/.tx/config @@ -377,11 +377,6 @@ file_filter = addons/im_livechat_mail_bot/i18n/.po source_file = addons/im_livechat_mail_bot/i18n/im_livechat_mail_bot.pot source_lang = en -[odoo-master.im_support] -file_filter = addons/im_support/i18n/.po -source_file = addons/im_support/i18n/im_support.pot -source_lang = en - [odoo-master.l10n_multilang] file_filter = addons/l10n_multilang/i18n/.po source_file = addons/l10n_multilang/i18n/l10n_multilang.pot diff --git a/addons/im_support/__init__.py b/addons/im_support/__init__.py deleted file mode 100644 index aa4d0fd63a9..00000000000 --- a/addons/im_support/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers -from . import models diff --git a/addons/im_support/__manifest__.py b/addons/im_support/__manifest__.py deleted file mode 100644 index 497e99f1aa8..00000000000 --- a/addons/im_support/__manifest__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -{ - 'name': 'Livechat Support', - 'version': '1.0', - 'category': 'Hidden', - 'description': """ - This module allows employee users to communicate with livechat operators - of another database on which a counterpart addon is installed. - """, - 'author': 'Odoo SA', - 'depends': [ - 'mail', - ], - 'data': [ - 'views/assets.xml', - ], - 'qweb': [ - "static/src/xml/discuss.xml", - "static/src/xml/systray.xml", - ], - 'installable': True, - 'auto_install': False, -} diff --git a/addons/im_support/controllers/__init__.py b/addons/im_support/controllers/__init__.py deleted file mode 100644 index 5d4b25db9c0..00000000000 --- a/addons/im_support/controllers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from . import main diff --git a/addons/im_support/controllers/i18n/sw.po b/addons/im_support/controllers/i18n/sw.po deleted file mode 100644 index fbd3a137a22..00000000000 --- a/addons/im_support/controllers/i18n/sw.po +++ /dev/null @@ -1,155 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_planner -# -# Translators: -# Mpasua Msonobari , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.saas~18\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-20 09:54+0000\n" -"PO-Revision-Date: 2017-09-20 09:54+0000\n" -"Last-Translator: Mpasua Msonobari , 2018\n" -"Language-Team: Swahili (https://www.transifex.com/odoo/teams/41243/sw/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sw\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_active -#: model_terms:ir.ui.view,arch_db:web_planner.web_planner_view_search -msgid "Active" -msgstr "Amilifu" - -#. module: web_planner -#. openerp-web -#: code:addons/web_planner/static/src/js/web_planner_common.js:379 -#, python-format -msgid "Cancel" -msgstr "Katiza" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_create_uid -msgid "Created by" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_create_date -msgid "Created on" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_data -msgid "Data" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_display_name -msgid "Display Name" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_id -msgid "ID" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,help:web_planner.field_web_planner_active -msgid "" -"If the active field is set to False, it will allow you to hide the planner. " -"This change requires a refresh of your page." -msgstr "" - -#. module: web_planner -#: model_terms:ir.ui.view,arch_db:web_planner.web_planner_view_search -msgid "Inactive" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_planner -#. openerp-web -#: code:addons/web_planner/static/src/js/web_planner_common.js:133 -#, python-format -msgid "Mark As Done" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_menu_id -msgid "Menu" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_name -msgid "Name" -msgstr "" - -#. module: web_planner -#. openerp-web -#: code:addons/web_planner/static/src/js/web_planner_common.js:141 -#, python-format -msgid "Next Step" -msgstr "" - -#. module: web_planner -#. openerp-web -#: code:addons/web_planner/static/src/js/web_planner_common.js:388 -#, python-format -msgid "Odoo Enterprise" -msgstr "" - -#. module: web_planner -#: model:ir.model,name:web_planner.model_web_planner -#: model_terms:ir.ui.view,arch_db:web_planner.web_planner_view_search -#: model_terms:ir.ui.view,arch_db:web_planner.web_planner_view_tree -msgid "Planner" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_planner_application -msgid "Planner Application" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_tooltip_planner -msgid "Planner Tooltips" -msgstr "" - -#. module: web_planner -#: model:ir.actions.act_window,name:web_planner.web_planner_action -#: model:ir.ui.menu,name:web_planner.web_planner_menu -msgid "Planners" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_progress -msgid "Progress Percentage" -msgstr "" - -#. module: web_planner -#: model:ir.model.fields,field_description:web_planner.field_web_planner_view_id -msgid "Template" -msgstr "" - -#. module: web_planner -#. openerp-web -#: code:addons/web_planner/static/src/js/web_planner_common.js:365 -#, python-format -msgid "Upgrade now" -msgstr "" diff --git a/addons/im_support/controllers/main.py b/addons/im_support/controllers/main.py deleted file mode 100644 index c95e642cdef..00000000000 --- a/addons/im_support/controllers/main.py +++ /dev/null @@ -1,12 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from odoo import http -from odoo.http import request - - -class ImSupport(http.Controller): - - @http.route('/im_support/tests', type='http', auth="user") - def test_suite(self, mod=None, **kwargs): - return request.render('im_support.support_qunit_suite') diff --git a/addons/im_support/i18n/ar.po b/addons/im_support/i18n/ar.po deleted file mode 100644 index 3044d0fd25f..00000000000 --- a/addons/im_support/i18n/ar.po +++ /dev/null @@ -1,72 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Mustafa Rawi , 2019 -# hoxhe Aits , 2019 -# Osama Ahmaro , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Osama Ahmaro , 2019\n" -"Language-Team: Arabic (https://www.transifex.com/odoo/teams/41243/ar/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr " (لا يوجد اتصال)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "مسار HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "اختبارات دعم المحادثات الفورية" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"جميع ممثلينا مشغولون الآن. أرسل تذكرة لطرح سؤالك الآن." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "دعم أودو" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "الدعم" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "تعذّر الوصول لسيرفر الدعم." diff --git a/addons/im_support/i18n/az.po b/addons/im_support/i18n/az.po deleted file mode 100644 index 86e122e292c..00000000000 --- a/addons/im_support/i18n/az.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Language-Team: Azerbaijani (https://www.transifex.com/odoo/teams/41243/az/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: az\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/bs.po b/addons/im_support/i18n/bs.po deleted file mode 100644 index 9eec955a7a8..00000000000 --- a/addons/im_support/i18n/bs.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Martin Trigaux, 2018\n" -"Language-Team: Bosnian (https://www.transifex.com/odoo/teams/41243/bs/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Podrška" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/ca.po b/addons/im_support/i18n/ca.po deleted file mode 100644 index d261af02a1b..00000000000 --- a/addons/im_support/i18n/ca.po +++ /dev/null @@ -1,71 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Manel Fernandez , 2018 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Last-Translator: Manel Fernandez , 2018\n" -"Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ca\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(desconnectat)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "Tests de suport IM" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Cap dels nostres operadors estan disponibles. Crea un tiquet per fer-" -"nos una pregunta ara mateix." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "Suport d'Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Suport" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "No es pot accedir al servidor de suport" diff --git a/addons/im_support/i18n/cs.po b/addons/im_support/i18n/cs.po deleted file mode 100644 index f08f7e8928d..00000000000 --- a/addons/im_support/i18n/cs.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# trendspotter , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: trendspotter , 2019\n" -"Language-Team: Czech (https://www.transifex.com/odoo/teams/41243/cs/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: cs\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(nepřipojeno)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Podpora Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Podpora" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "Nelze se připojit k serveru podpory." diff --git a/addons/im_support/i18n/da.po b/addons/im_support/i18n/da.po deleted file mode 100644 index 6051055a7e5..00000000000 --- a/addons/im_support/i18n/da.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Sanne Kristensen , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Sanne Kristensen , 2019\n" -"Language-Team: Danish (https://www.transifex.com/odoo/teams/41243/da/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: da\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Support" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/de.po b/addons/im_support/i18n/de.po deleted file mode 100644 index bba64d155f1..00000000000 --- a/addons/im_support/i18n/de.po +++ /dev/null @@ -1,74 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Johannes Croe , 2019 -# Marco Tarsia , 2019 -# Chris Egal , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Chris Egal , 2019\n" -"Language-Team: German (https://www.transifex.com/odoo/teams/41243/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: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(Offline)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "IM-Support-Tests" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Keiner unserer Mitarbeiter ist verfügbar. Senden Sie jetzt ein " -"Ticket um Ihre Frage zu stellen." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo Support" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Support" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "Der Support Server ist nicht erreichbar." diff --git a/addons/im_support/i18n/el.po b/addons/im_support/i18n/el.po deleted file mode 100644 index 3df487f48d0..00000000000 --- a/addons/im_support/i18n/el.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Sophia Anastasopoulos , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Sophia Anastasopoulos , 2018\n" -"Language-Team: Greek (https://www.transifex.com/odoo/teams/41243/el/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: el\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Υποστήριξη" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/es.po b/addons/im_support/i18n/es.po deleted file mode 100644 index c58da569950..00000000000 --- a/addons/im_support/i18n/es.po +++ /dev/null @@ -1,74 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Pedro M. Baeza , 2019 -# Vivian Montana , 2019 -# Efrem Jimenez , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Efrem Jimenez , 2019\n" -"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(desconectado)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Ruta HTTP " - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Ninguno de nuestros operadores está disponible. Envíe una consulta para" -" hacer su pregunta ahora." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Soporte de Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Soporte" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/et.po b/addons/im_support/i18n/et.po deleted file mode 100644 index bdc1eb21af3..00000000000 --- a/addons/im_support/i18n/et.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Eneli Õigus , 2018 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Last-Translator: Eneli Õigus , 2018\n" -"Language-Team: Estonian (https://www.transifex.com/odoo/teams/41243/et/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: et\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Tugi" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/fa.po b/addons/im_support/i18n/fa.po deleted file mode 100644 index a1bca4af46d..00000000000 --- a/addons/im_support/i18n/fa.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Martin Trigaux, 2018\n" -"Language-Team: Persian (https://www.transifex.com/odoo/teams/41243/fa/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fa\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "پشتیبانی" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/fi.po b/addons/im_support/i18n/fi.po deleted file mode 100644 index ff8114b0d7f..00000000000 --- a/addons/im_support/i18n/fi.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Kari Lindgren , 2018 -# Tuomo Aura , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Tuomo Aura , 2018\n" -"Language-Team: Finnish (https://www.transifex.com/odoo/teams/41243/fi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "Odoo tukipalvelu" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Tuki" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/fr.po b/addons/im_support/i18n/fr.po deleted file mode 100644 index bd956022984..00000000000 --- a/addons/im_support/i18n/fr.po +++ /dev/null @@ -1,72 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# William Olhasque , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: William Olhasque , 2019\n" -"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(Non connecté)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Routage HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "Tests des messages instantanés du Support." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Aucune de nos personnes supports n'est disponible Ouvrez un ticket " -"maintenant pour poser votre question." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Support Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Assistance" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "Le serveur Support n'est pas joignable." diff --git a/addons/im_support/i18n/gu.po b/addons/im_support/i18n/gu.po deleted file mode 100644 index 95f69856dd4..00000000000 --- a/addons/im_support/i18n/gu.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Language-Team: Gujarati (https://www.transifex.com/odoo/teams/41243/gu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: gu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/he.po b/addons/im_support/i18n/he.po deleted file mode 100644 index e5116eed095..00000000000 --- a/addons/im_support/i18n/he.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# דודי מלכה , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: דודי מלכה , 2019\n" -"Language-Team: Hebrew (https://www.transifex.com/odoo/teams/41243/he/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: he\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "ניתוב HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "תמיכה" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/hr.po b/addons/im_support/i18n/hr.po deleted file mode 100644 index 4c756188b30..00000000000 --- a/addons/im_support/i18n/hr.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Jasmina Otročak , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Jasmina Otročak , 2019\n" -"Language-Team: Croatian (https://www.transifex.com/odoo/teams/41243/hr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Podrška" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/hu.po b/addons/im_support/i18n/hu.po deleted file mode 100644 index 3279b46a9c8..00000000000 --- a/addons/im_support/i18n/hu.po +++ /dev/null @@ -1,71 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# krnkris, 2019 -# Ákos Nagy , 2019 -# Daniel Gerstenbrand , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Daniel Gerstenbrand , 2019\n" -"Language-Team: Hungarian (https://www.transifex.com/odoo/teams/41243/hu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr " (offline)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP irányítás" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo támogatás" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Támogatás" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/im_support.pot b/addons/im_support/i18n/im_support.pot deleted file mode 100644 index 1d6065f9f88..00000000000 --- a/addons/im_support/i18n/im_support.pot +++ /dev/null @@ -1,71 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-18 09:47+0000\n" -"PO-Revision-Date: 2019-10-18 09:47+0000\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: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:0 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:0 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:0 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:0 -#, python-format -msgid "Odoo Live Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:0 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:0 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:0 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/is.po b/addons/im_support/i18n/is.po deleted file mode 100644 index 04a4594da58..00000000000 --- a/addons/im_support/i18n/is.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Language-Team: Icelandic (https://www.transifex.com/odoo/teams/41243/is/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: is\n" -"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/it.po b/addons/im_support/i18n/it.po deleted file mode 100644 index 13f50ed9240..00000000000 --- a/addons/im_support/i18n/it.po +++ /dev/null @@ -1,70 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Paolo Valier, 2019 -# Léonie Bouchat , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Léonie Bouchat , 2019\n" -"Language-Team: Italian (https://www.transifex.com/odoo/teams/41243/it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Instradamento HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Supporto Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Supporto" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/ja.po b/addons/im_support/i18n/ja.po deleted file mode 100644 index f4c2676dd50..00000000000 --- a/addons/im_support/i18n/ja.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Yoshi Tashiro , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Yoshi Tashiro , 2018\n" -"Language-Team: Japanese (https://www.transifex.com/odoo/teams/41243/ja/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ja\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "サポート" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/km.po b/addons/im_support/i18n/km.po deleted file mode 100644 index 27d294f7473..00000000000 --- a/addons/im_support/i18n/km.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Language-Team: Khmer (https://www.transifex.com/odoo/teams/41243/km/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: km\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/ko.po b/addons/im_support/i18n/ko.po deleted file mode 100644 index f2182680622..00000000000 --- a/addons/im_support/i18n/ko.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2018 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Last-Translator: Martin Trigaux, 2018\n" -"Language-Team: Korean (https://www.transifex.com/odoo/teams/41243/ko/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ko\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "Odoo 고객지원" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "지원" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/lb.po b/addons/im_support/i18n/lb.po deleted file mode 100644 index 0f0d771b14d..00000000000 --- a/addons/im_support/i18n/lb.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Language-Team: Luxembourgish (https://www.transifex.com/odoo/teams/41243/lb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: lb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/lt.po b/addons/im_support/i18n/lt.po deleted file mode 100644 index c122c997f7b..00000000000 --- a/addons/im_support/i18n/lt.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Silvija Butko , 2019 -# Linas Versada , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Linas Versada , 2019\n" -"Language-Team: Lithuanian (https://www.transifex.com/odoo/teams/41243/lt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP nukreipimas" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Palaikymas" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/mn.po b/addons/im_support/i18n/mn.po deleted file mode 100644 index eccd64ac76c..00000000000 --- a/addons/im_support/i18n/mn.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Baskhuu Lodoikhuu , 2019 -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Mongolian (https://www.transifex.com/odoo/teams/41243/mn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: mn\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo Дэмжлэг" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Дэмжлэг" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/nb.po b/addons/im_support/i18n/nb.po deleted file mode 100644 index 2d55b5a7a05..00000000000 --- a/addons/im_support/i18n/nb.po +++ /dev/null @@ -1,70 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Jorunn D. Newth, 2019 -# Marius Stedjan , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Marius Stedjan , 2019\n" -"Language-Team: Norwegian Bokmål (https://www.transifex.com/odoo/teams/41243/nb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP-ruting" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo kundestøtte" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Brukerstøtte" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/nl.po b/addons/im_support/i18n/nl.po deleted file mode 100644 index 67f0404816a..00000000000 --- a/addons/im_support/i18n/nl.po +++ /dev/null @@ -1,72 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Yenthe Van Ginneken , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Yenthe Van Ginneken , 2019\n" -"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(offline)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "IM ondersteuningstesten" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Onze operators zijn momenteel niet beschikbaar. Verzend een ticket om " -"uw vraag nu te stellen." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo Support" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Ondersteuning" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "De support server kan niet gecontacteerd worden." diff --git a/addons/im_support/i18n/pl.po b/addons/im_support/i18n/pl.po deleted file mode 100644 index b84f3f8ff93..00000000000 --- a/addons/im_support/i18n/pl.po +++ /dev/null @@ -1,72 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Mariusz, 2019 -# Piotr Cierkosz , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Piotr Cierkosz , 2019\n" -"Language-Team: Polish (https://www.transifex.com/odoo/teams/41243/pl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr " (niepołączony)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Wytyczanie HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Żaden z naszych operatorów nie jest dostepny. Zgłoś błąd aby zadać " -"pytanie." - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Wsparcie Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Wsparcie" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "Serwer Wsparcia nie może zostac osiągnięty." diff --git a/addons/im_support/i18n/pt.po b/addons/im_support/i18n/pt.po deleted file mode 100644 index 980c29bc90e..00000000000 --- a/addons/im_support/i18n/pt.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Language-Team: Portuguese (https://www.transifex.com/odoo/teams/41243/pt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/pt_BR.po b/addons/im_support/i18n/pt_BR.po deleted file mode 100644 index 5da784f9008..00000000000 --- a/addons/im_support/i18n/pt_BR.po +++ /dev/null @@ -1,70 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Clemilton Clementino , 2019 -# Mateus Lopes , 2019 -# Yannick Belot , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Yannick Belot , 2019\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/odoo/teams/41243/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Roteamento HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Suporte Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Suporte" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/ro.po b/addons/im_support/i18n/ro.po deleted file mode 100644 index 5b9905d41e5..00000000000 --- a/addons/im_support/i18n/ro.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Language-Team: Romanian (https://www.transifex.com/odoo/teams/41243/ro/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/ru.po b/addons/im_support/i18n/ru.po deleted file mode 100644 index 98f9c4f7cd7..00000000000 --- a/addons/im_support/i18n/ru.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Vasiliy Korobatov , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Vasiliy Korobatov , 2019\n" -"Language-Team: Russian (https://www.transifex.com/odoo/teams/41243/ru/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Маршрутизация HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Поддержка" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/sk.po b/addons/im_support/i18n/sk.po deleted file mode 100644 index b268601428b..00000000000 --- a/addons/im_support/i18n/sk.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Matus Krnac , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Last-Translator: Matus Krnac , 2018\n" -"Language-Team: Slovak (https://www.transifex.com/odoo/teams/41243/sk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sk\n" -"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Podpora" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/sr.po b/addons/im_support/i18n/sr.po deleted file mode 100644 index 6069b54afea..00000000000 --- a/addons/im_support/i18n/sr.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-09-21 13:17+0000\n" -"Language-Team: Serbian (https://www.transifex.com/odoo/teams/41243/sr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sr\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/sv.po b/addons/im_support/i18n/sv.po deleted file mode 100644 index dace0b736e1..00000000000 --- a/addons/im_support/i18n/sv.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2018 -# Kristoffer Grundström , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-08-02 09:56+0000\n" -"PO-Revision-Date: 2018-08-02 09:56+0000\n" -"Last-Translator: Kristoffer Grundström , 2018\n" -"Language-Team: Swedish (https://www.transifex.com/odoo/teams/41243/sv/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sv\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/chat_manager.js:344 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP routing" -msgstr "HTTP-rutt" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/chat_manager.js:268 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "Odoo-stöd" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/chat_manager.js:341 -#: code:addons/im_support/static/src/js/systray.js:32 -#, python-format -msgid "Support" -msgstr "Stöd" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/chat_manager.js:226 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/th.po b/addons/im_support/i18n/th.po deleted file mode 100644 index bfa0cdb14d7..00000000000 --- a/addons/im_support/i18n/th.po +++ /dev/null @@ -1,68 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Khwunchai Jaengsawang , 2018 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~11.5\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-21 13:17+0000\n" -"PO-Revision-Date: 2018-08-24 09:20+0000\n" -"Last-Translator: Khwunchai Jaengsawang , 2018\n" -"Language-Team: Thai (https://www.transifex.com/odoo/teams/41243/th/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: th\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:10 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "สนับสนุน" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/tr.po b/addons/im_support/i18n/tr.po deleted file mode 100644 index 0ebf197fc09..00000000000 --- a/addons/im_support/i18n/tr.po +++ /dev/null @@ -1,70 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Ramiz Deniz Öner , 2019 -# Umur Akın , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Umur Akın , 2019\n" -"Language-Team: Turkish (https://www.transifex.com/odoo/teams/41243/tr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: tr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Yönlendirme" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo Desteği" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Destek" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/uk.po b/addons/im_support/i18n/uk.po deleted file mode 100644 index 5b4f5e21d4c..00000000000 --- a/addons/im_support/i18n/uk.po +++ /dev/null @@ -1,71 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# Alina Lisnenko , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Alina Lisnenko , 2019\n" -"Language-Team: Ukrainian (https://www.transifex.com/odoo/teams/41243/uk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: uk\n" -"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr " (офлайн)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "Маршрутизація HTTP" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "Тести підтримки IM" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"Жоден з наших операторів недоступний. Заповніть заявку, щоби задати ваше запитання зараз. " - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Техпідтримка Odoo" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Підтримка" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "Сервер підтримки не може бути досягнутий." diff --git a/addons/im_support/i18n/vi.po b/addons/im_support/i18n/vi.po deleted file mode 100644 index c89e7c372ff..00000000000 --- a/addons/im_support/i18n/vi.po +++ /dev/null @@ -1,69 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Nancy Momoland , 2019 -# Thang Duong Bao , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: Thang Duong Bao , 2019\n" -"Language-Team: Vietnamese (https://www.transifex.com/odoo/teams/41243/vi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: vi\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP Routing" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "Hỗ trợ" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "" diff --git a/addons/im_support/i18n/zh_CN.po b/addons/im_support/i18n/zh_CN.po deleted file mode 100644 index 1373704b691..00000000000 --- a/addons/im_support/i18n/zh_CN.po +++ /dev/null @@ -1,75 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# liAnGjiA , 2019 -# keecome <7017511@qq.com>, 2019 -# ChinaMaker , 2019 -# snow wang <147156565@qq.com>, 2019 -# inspur qiuguodong , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: inspur qiuguodong , 2019\n" -"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(离线)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP 路由" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "IM 测试支持" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"无运营商可用。现在 提交一个服务单来上报问题。" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo 支持" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "支持" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "无法到达支持服务器。" diff --git a/addons/im_support/i18n/zh_TW.po b/addons/im_support/i18n/zh_TW.po deleted file mode 100644 index 27fdace27b6..00000000000 --- a/addons/im_support/i18n/zh_TW.po +++ /dev/null @@ -1,71 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * im_support -# -# Translators: -# Martin Trigaux, 2019 -# 敬雲 林 , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:11+0000\n" -"Last-Translator: 敬雲 林 , 2019\n" -"Language-Team: Chinese (Taiwan) (https://www.transifex.com/odoo/teams/41243/zh_TW/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: zh_TW\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:48 -#, python-format -msgid " (offline)" -msgstr "(離線)" - -#. module: im_support -#: model:ir.model,name:im_support.model_ir_http -msgid "HTTP Routing" -msgstr "HTTP 路由" - -#. module: im_support -#: model_terms:ir.ui.view,arch_db:im_support.support_qunit_suite -msgid "IM Support Tests" -msgstr "IM 測試支援" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:187 -#, python-format -msgid "" -"None of our operators are available. Submit a ticket to ask your question now." -msgstr "" -"我們的客服人員目前都在忙線中。 提交票證 " -" 提前你的詢問排程。" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/xml/discuss.xml:20 -#, python-format -msgid "Odoo Support" -msgstr "Odoo 支援" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/support_channel.js:41 -#: code:addons/im_support/static/src/js/systray_messaging_menu.js:30 -#, python-format -msgid "Support" -msgstr "支援" - -#. module: im_support -#. openerp-web -#: code:addons/im_support/static/src/js/mail_manager.js:153 -#, python-format -msgid "The Support server can't be reached." -msgstr "無法到達支援伺服器。" diff --git a/addons/im_support/models/__init__.py b/addons/im_support/models/__init__.py deleted file mode 100644 index 75127bbcbc3..00000000000 --- a/addons/im_support/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from . import ir_http diff --git a/addons/im_support/models/ir_http.py b/addons/im_support/models/ir_http.py deleted file mode 100644 index 39ff7081862..00000000000 --- a/addons/im_support/models/ir_http.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. -import hmac -from hashlib import sha256 - -from odoo import models -from odoo.http import request - - -class Http(models.AbstractModel): - _inherit = 'ir.http' - - def session_info(self): - result = super(Http, self).session_info() - - if self.env.user.has_group('base.group_user'): - icp = request.env['ir.config_parameter'].sudo() - db_uuid = icp.get_param('database.uuid') - db_secret = icp.get_param('database.secret') - message = db_uuid + str(request.uid) - token = hmac.new(message.encode('utf-8'), db_secret.encode('utf-8'), sha256).hexdigest() - - result['db_uuid'] = db_uuid - result['support_token'] = token - result['support_origin'] = False # must be overridden to specify the correct origin - - return result diff --git a/addons/im_support/static/src/js/discuss.js b/addons/im_support/static/src/js/discuss.js deleted file mode 100644 index 8f26f272346..00000000000 --- a/addons/im_support/static/src/js/discuss.js +++ /dev/null @@ -1,65 +0,0 @@ -odoo.define('im_support.Discuss', function (require) { -"use strict"; - -var Discuss = require('mail.Discuss'); - -/** - * This module includes Discuss to handle the case of the Support channel. - */ -Discuss.include({ - - //-------------------------------------------------------------------------- - // Private - //-------------------------------------------------------------------------- - - /** - * Overrides to hide stars in the Support channel, as this feature does not - * work in that channel. - * - * @override - * @private - */ - _getThreadRenderingOptions: function () { - var options = this._super.apply(this, arguments); - if (this._thread.getType() === 'support_channel') { - options.displayStars = false; - } - return options; - }, - /** - * Overrides to hide the attachment button in the composer of the Support - * channel, as this feature does not work in that channel. Also hides the - * composer when no operator is available. - * - * @override - * @private - */ - _setThread: function () { - var self = this; - return this._super.apply(this, arguments).then(function () { - var $buttonAddAttachment = self._basicComposer.$('.o_composer_button_add_attachment'); - if (self._thread.getType() === 'support_channel') { - if (!self._thread.isAvailable()) { - self._basicComposer.do_hide(); - } - $buttonAddAttachment.toggleClass('o_hidden', true); - } else { - $buttonAddAttachment.toggleClass('o_hidden', false); - } - }); - }, - /** - * Overrides to handle the Support channel case (hide all buttons). - * - * @override - * @private - */ - _updateControlPanelButtons: function (thread) { - this._super.apply(this, arguments); - if (thread.getType() === 'support_channel') { - this.$buttons.find('button').hide(); - } - }, -}); - -}); diff --git a/addons/im_support/static/src/js/mail_manager.js b/addons/im_support/static/src/js/mail_manager.js deleted file mode 100644 index 3672af2491f..00000000000 --- a/addons/im_support/static/src/js/mail_manager.js +++ /dev/null @@ -1,271 +0,0 @@ -odoo.define('im_support.MailManager', function (require) { -"use strict"; - -var MailManager = require('mail.Manager'); - -var core = require('web.core'); -var session = require('web.session'); -var WebClient = require('web.WebClient'); - -var SupportChannel = require('im_support.SupportChannel'); -var SupportMessage = require('im_support.SupportMessage'); -var supportSession = require('im_support.SupportSession'); - -var _t = core._t; - -var POLL_TIMEOUT_DELAY = 1000 * 60 * 30; // 30 minutes -var POLL_TIMEOUT_KEY = 'im_support.poll_timeout'; -var SUPPORT_CHANNEL_STATE_KEY = 'im_support.channel_state'; - -/** - * This module includes the MailService to handle the case of the Support - * channel, allowing the users of the current database to communicate with - * livechat operators from another database (the Support database). - */ -MailManager.include({ - dependencies: (MailManager.prototype.dependencies || []).concat(['support_bus_service']), - //-------------------------------------------------------------------------- - // Public - //-------------------------------------------------------------------------- - - /** - * Initialises the Support: checks if there is a pending chat session - * between the user and Support, and if so, re-opens it. - * Note: we can't directly override init(), because it is already called - * when the include is applied, so we use this hook instead (called at - * webclient startup) - */ - initSupport: function () { - var self = this; - this.supportChannelDef = null; - this.supportChannelUUID = null; - this.pollTimeout = null; - this.pollingSupport = false; - - // listen to notifications coming from Support longpolling - this.call('support_bus_service', 'onNotification', this, this._onSupportNotification); - - // check if there is a pending chat session with the Support - var timeoutTimestamp = this.call('local_storage', 'getItem', POLL_TIMEOUT_KEY); - var pollingDelay = timeoutTimestamp && (JSON.parse(timeoutTimestamp) - Date.now()); - if (pollingDelay && pollingDelay > 0) { - var channelState = this.call('local_storage', 'getItem', SUPPORT_CHANNEL_STATE_KEY); - this.startSupportLivechat(channelState).then(function () { - var supportChannel = self.getChannel(self.supportChannelUUID); - if (supportChannel.isAvailable()) { - self.startPollingSupport(pollingDelay); - } - }); - } - }, - /** - * Overrides to filter out the Support channel from the previews. - * - * @override - * @returns {Promise} list of valid objects for mail.Preview - * template - */ - getChannelPreviews: function () { - var self = this; - return this._super.apply(this, arguments) - .then(function (channelsPreview) { - return _.reject(channelsPreview, { id: self.supportChannelUUID }); - }); - }, - /** - * Initiates a longpoll with the server hosting the Support channel. - * - * @param {integer} [pollingDelay=POLL_TIMEOUT_DELAY] the longpolling - * timeout delay to set - */ - startPollingSupport: function (pollingDelay) { - if (!('pollingSupport' in this)) { - return this.initSupport(); - } - if (!this.pollingSupport) { - this.pollingSupport = true; - this.call('support_bus_service', 'addChannel', this.supportChannelUUID); - this.call('support_bus_service', 'startPolling'); - this._setPollTimeout(pollingDelay); - } - }, - /** - * Opens the Support channel between a livechat operator from the Support - * database and the current user (if there is an available operator). - * Ensures to perform only once the request to create/retrieve the Support - * channel. - * - * @param {string} [channelState='open'] state of the Support - * channel (see CHANNEL_STATES for accepted values) - * @returns {Promise} - */ - startSupportLivechat: function (channelState) { - var self = this; - if (!this.supportChannelDef) { - // retrieve or create the channel - this.supportChannelDef = supportSession.rpc('/odoo_im_support/get_support_channel', { - channel_uuid: session.support_token, - db_uuid: session.db_uuid, - user_name: session.name, - }); - } - return this.supportChannelDef.then(function (channel) { - if (!channel) { - // there is no channel (because there is no online operator, and - // no support channel has been created yet), so create one to - // open in a chat window - channel = { - available: false, - support_channel: true, - type: 'livechat', - uuid: "support_unavailable", - }; - } - if (!channelState) { - channelState = self._isDiscussOpen() ? 'closed' : 'open'; - self.call('local_storage', 'setItem', SUPPORT_CHANNEL_STATE_KEY, channelState); - } - if (!self.supportChannelUUID) { - // this part is only executed the first time the RPC is resolved - self.supportChannelUUID = channel.uuid; - - // add the channel to the MailManager - return self._addChannel(_.extend(channel, { - id: channel.uuid, - is_minimized: _.contains(['open', 'folded'], channelState), - state: channelState, - })).then(function () { - // display an automatic message in the channel - var supportChannel = self.getChannel(channel.uuid); - supportChannel.addDefaultMessage(); - }); - } else { - // the channel has already been added to the MailManager, so - // simply re-open it - if (self._isDiscussOpen()) { - self._openThreadInDiscuss(self.supportChannelUUID); - } else { - channel = self.getChannel(self.supportChannelUUID); - channel.fold(channelState === 'folded'); - } - } - }).guardedCatch(function () { - self.do_warn(_t("The Support server can't be reached.")); - }); - }, - /** - * Updates the state of the Support channel (stored in the localStorage). - * - * @param {string} state ('closed', 'folded' or 'open') - */ - updateSupportChannelState: function (state) { - this.call('local_storage', 'setItem', SUPPORT_CHANNEL_STATE_KEY, state); - }, - - //-------------------------------------------------------------------------- - // Private - //-------------------------------------------------------------------------- - - /** - * @override - * @private - */ - _makeChannel: function (data, options) { - if (data.id === this.supportChannelUUID) { - return new SupportChannel({ - parent: this, - data: data, - options: options, - commands: this._commands - }); - } - return this._super.apply(this, arguments); - }, - /** - * Overrides to instantiate a SupportMessage when necessary. - * @override - */ - _makeMessage: function (data) { - if ( - this.supportChannelUUID && - _.contains(data.channel_ids, this.supportChannelUUID) - ) { - return new SupportMessage(this, data, this._emojis); - } - return this._super.apply(this, arguments); - }, - /** - * Automatically stop polling for Support messages after a given delay of - * inactivity. - * - * @private - * @param {integer} [pollingDelay=POLL_TIMEOUT_DELAY] the longpolling - * timeout delay to set - */ - _setPollTimeout: function (pollingDelay) { - pollingDelay = pollingDelay || POLL_TIMEOUT_DELAY; - clearTimeout(this.pollTimeout); - this.pollTimeout = setTimeout(this._stopPollingSupport.bind(this), pollingDelay); - // save the timeout expiration datetime into the LocalStorage so that - // we can re-open the Support channel if necessary on F5 - var timeoutTimestamp = Date.now() + pollingDelay; - this.call('local_storage', 'setItem', POLL_TIMEOUT_KEY, timeoutTimestamp); - }, - /** - * Stops the longpoll with the server hosting the Support channel. - * - * @private - */ - _stopPollingSupport: function () { - this.pollingSupport = false; - this.call('support_bus_service', 'stopPolling'); - this.call('local_storage', 'removeItem', POLL_TIMEOUT_KEY); - }, - - //-------------------------------------------------------------------------- - // Handlers - //-------------------------------------------------------------------------- - - /** - * Handles poll notifications from the Support server. - * - * @private - * @param {Object[]} notifications - */ - _onSupportNotification: function (notifications) { - var self = this; - if (notifications && notifications.length) { - this._setPollTimeout(); - } - _.each(notifications, function (notification) { - if (notification[1]._type === 'history_command') { - // ignore history requests - return; - } - var messageData = _.extend(notification[1], { - channel_ids: [self.supportChannelUUID], - }); - self._handleChannelNotification({ data: messageData }); - }); - }, -}); - - -// Unfortunately, we can't override init() of MailService because it is called -// before the include is applied, so we override the WebClient instead to call -// an initialization hook for Livechat Support in the Mail service. -WebClient.include({ - /** - * Overrides to ask the Mail service to check whether there is a - * pending chat session with Support, and if so, to re-open it. - * - * @override - */ - show_application: function () { - this.call('mail_service', 'initSupport'); - return this._super.apply(this, arguments); - }, -}); - -}); - diff --git a/addons/im_support/static/src/js/support_bus.js b/addons/im_support/static/src/js/support_bus.js deleted file mode 100644 index ed0d22c1257..00000000000 --- a/addons/im_support/static/src/js/support_bus.js +++ /dev/null @@ -1,30 +0,0 @@ -odoo.define('im_support.SupportBus', function (require) { -"use strict"; - -/** - * This module instantiates and exports the instance of the Bus, parameterized - * to poll the Support server. - */ - -var BusService = require('bus.BusService'); -var supportSession = require('im_support.SupportSession'); -var core = require('web.core'); - -var SupportBusService = BusService.extend({ - LOCAL_STORAGE_PREFIX: 'im_support', - POLL_ROUTE: '/longpolling/support_poll', - - /** - * @override _makePoll to force the remote session - */ - _makePoll: function(data) { - return supportSession.rpc(this.POLL_ROUTE, data, {shadow : true, timeout: 60000}); - }, -}); - -core.serviceRegistry.add('support_bus_service', SupportBusService); - -return SupportBusService; - -}); - diff --git a/addons/im_support/static/src/js/support_channel.js b/addons/im_support/static/src/js/support_channel.js deleted file mode 100644 index 402b590919f..00000000000 --- a/addons/im_support/static/src/js/support_channel.js +++ /dev/null @@ -1,270 +0,0 @@ -odoo.define('im_support.SupportChannel', function (require) { -"use strict"; - -var supportSession = require('im_support.SupportSession'); - -var SearchableThread = require('mail.model.SearchableThread'); - -var core = require('web.core'); -var session = require('web.session'); - -var _t = core._t; - -/** - * This mail model represents support channel, which are communication channels - * between two different databases for support-related reasons. It is like - * livechat, but both users are in different databases, and both users - * communicate from their respective 'backend' access. - * - * FIXME: it should inherit from mail.model.Channel, not from - * mail.model.SearchableThread - */ -var SupportChannel = SearchableThread.extend({ - - /** - * @override - * @param {Object} params - * @param {Object} params.data - * @param {boolean} params.data.available - * @param {string|integer} params.data.id - * @param {boolean} params.data.is_minimized - * @param {Object} params.data.operator - * @param {string} params.data.state ['open', 'closed', 'folded'] - * @param {string} params.data.uuid - * @param {string} params.data.welcome_message - * @param {Object} params.options - */ - init: function (params) { - var data = params.data; - - data.type = 'support_channel'; - data.name = _t("Support"); - - this._available = data.available; - this._operator = data.operator; - this._supportChannelUUID = data.id; - this._welcomeMessage = data.welcome_message; - if (!this._available) { - data.name += _t(" (offline)"); - } - - this._super.apply(this, arguments); - - // force stuff that should probably be in Thread (or at least - // SearchableThread), but that are currently in Channel - this._detached = data.is_minimized; - this._folded = data.state === 'folded'; - this._uuid = data.uuid; - }, - - //-------------------------------------------------------------------------- - // Public - //-------------------------------------------------------------------------- - - /** - * Adds the default message in the Support channel (depending on its - * availability). - */ - addDefaultMessage: function () { - if (!this._available) { - this._addSupportNotAvailableMessage(); - } else { - this._addSupportWelcomeMessage(); - } - }, - /** - * Overrides to store the state of the Support channel in the localStorage. - * - * @override - */ - close: function () { - this._super.apply(this, arguments); - this.call('mail_service', 'updateSupportChannelState', 'closed'); - }, - /** - * Overrides to store the state of the Support channel in the localStorage. - * - * @override - */ - detach: function () { - this._super.apply(this, arguments); - this.call('mail_service', 'updateSupportChannelState', 'open'); - }, - /** - * Overrides to store the state of the Support channel in the localStorage. - * - * @override - */ - fold: function (folded) { - this._super.apply(this, arguments); - var value = folded ? 'folded' : 'open'; - this.call('mail_service', 'updateSupportChannelState', value); - }, - /** - * FIXME: this override is necessary just because the support channel is - * considered as a channel, even though it does not inherit from - * mail.model.Channel. - * - * @returns {integer} - */ - getNeedactionCounter: function () { - return 0; - }, - /** - * @return {string} uuid of this channel - */ - getUUID: function () { - return this._uuid; - }, - /** - * FIXME: this method is necessary just because the support channel is - * considered as a channel, even though it does not inherit from - * mail.model.Channel. - * - * @returns {boolean} - */ - hasBeenPreviewed: function () { - return true; - }, - /** - * @returns {boolean} true iff the Support channel is available - */ - isAvailable: function () { - return this._available; - }, - /** - * FIXME: this override is necessary just because the support channel is - * considered as a channel, even though it does not inherit from - * mail.model.Channel. - * - * @override - * @returns {boolean} - */ - isChannel: function () { - return true; - }, - /** - * Called when fold or detach (or both) status have changed on the support - * channel. - * - * Note: this is partially a hack due to support channel not being a - * channel. Also, the support channel uses another way to handle its window - * state, by means of the local storage. - * - * @param {Object} params - * @param {boolean} [params.folded] - * @param {boolean} [params.detached] - */ - updateWindowState: function (params) { - if ('detached' in params) { - this._detached = params.detached; - } - if ('folded' in params) { - this._folded = params.folded; - } - - if (!this._detached) { - this.call('mail_service', 'updateSupportChannelState', 'closed'); - } else { - var value = this._folded ? 'folded' : 'open'; - this.call('mail_service', 'updateSupportChannelState', value); - } - }, - - //-------------------------------------------------------------------------- - // Private - //-------------------------------------------------------------------------- - - /** - * Adds a message in the Support channel indicating that this channel is - * not available for now. - * - * @private - */ - _addSupportNotAvailableMessage: function () { - var msg = { - author_id: this.call('mail_service', 'getOdoobotID'), - body: _t("None of our operators are available. Submit a ticket to ask your question now."), - channel_ids: [this.getID()], - id: Number.MAX_SAFE_INTEGER, // last message in the channel - }; - this.call('mail_service', 'addMessage', msg, { silent: true }); - }, - /** - * Adds the welcome message as first message of the Support channel. - * - * @private - */ - _addSupportWelcomeMessage: function () { - if (this._welcomeMessage) { - var msg = { - author_id: this._operator, - body: this._welcomeMessage, - channel_ids: [this.getID()], - id: -1, // first message of the channel - }; - this.call('mail_service', 'addMessage', msg, { silent: true }); - } - }, - /** - * Fetches the messages from the Support server. - * - * @override - * @private - */ - _fetchMessages: function (pDomain, loadMore) { - var self = this; - var domain = []; - var cache = this._getCache(pDomain); - if (pDomain) { - domain = domain.concat(pDomain || []); - } - if (loadMore) { - // ignore the welcome message (ID==-1) - var msgs = cache.messages.filter(function(m) {return m.getID() !== -1}); - var minMessageID = msgs[0].getID(); - domain = [['id', '<', minMessageID]].concat(domain); - } - return supportSession.rpc('/odoo_im_support/fetch_messages', { - domain: domain, - channel_uuid: session.support_token, - limit: self._FETCH_LIMIT, - }).then(function (messages) { - if (!cache.allHistoryLoaded) { - cache.allHistoryLoaded = messages.length < self._FETCH_LIMIT; - } - cache.loaded = true; - _.each(messages, function (message) { - message.channel_ids = [self.getID()]; - message.channel_id = self.getID(); - self.call('mail_service', 'addMessage', message, { - silent: true, - domain: pDomain, - }); - }); - cache = self._getCache(pDomain || []); - return cache.messages; - }); - }, - - /** - * Posts the message on the Support server. - * - * @override - * @private - * @return {Promise} - */ - _postMessage: function (data) { - // ensure that the poll is active before posting the message - this.call('mail_service', 'startPollingSupport'); - return supportSession.rpc('/odoo_im_support/chat_post', { - uuid: this._supportChannelUUID, - message_content: data.content, - }); - }, -}); - -return SupportChannel; - -}); diff --git a/addons/im_support/static/src/js/support_message.js b/addons/im_support/static/src/js/support_message.js deleted file mode 100644 index 92c85842aad..00000000000 --- a/addons/im_support/static/src/js/support_message.js +++ /dev/null @@ -1,66 +0,0 @@ -odoo.define('im_support.SupportMessage', function (require) { -"use strict"; - -var Message = require('mail.model.Message'); - -var session = require('web.session'); - -/** - * This is a model for messages that are in the the support channel - */ -var SupportMessage = Message.extend({ - /** - * @override - */ - init: function () { - this._super.apply(this, arguments); - if ( - !this._serverAuthorID || - this._serverAuthorID[0] !== this.call('mail_service', 'getOdoobotID')[0] - ) { - if (!this._serverAuthorID[0]) { - // the author is the client - this._serverAuthorID = [session.partner_id, session.name]; - } else { - // the author is the operator - // prevent from conflicting with partners of this instance - this._serverAuthorID[0] = -1; - } - } - }, - - //-------------------------------------------------------------------------- - // Public - //-------------------------------------------------------------------------- - - /** - * @override - * @returns {string} - */ - getAvatarSource: function () { - return '/mail/static/src/img/odoo_o.png'; - }, - /** - * Overrides to prevent clicks on the Support operator from redirecting. - * - * @override - * @returns {boolean} - */ - shouldRedirectToAuthor: function () { - return false; - }, - /** - * Overrides to prevent from calling the server for messages of the Support - * channel (which are records on the Support database). - * - * @override - * @returns {Promise} - */ - toggleStarStatus: function () { - return Promise.resolve(); - }, -}); - -return SupportMessage; - -}); diff --git a/addons/im_support/static/src/js/support_session.js b/addons/im_support/static/src/js/support_session.js deleted file mode 100644 index 1c6268c40db..00000000000 --- a/addons/im_support/static/src/js/support_session.js +++ /dev/null @@ -1,17 +0,0 @@ -odoo.define('im_support.SupportSession', function (require) { -"use strict"; - -var session = require('web.session'); -var Session = require('web.Session'); - -/** - * This module returns an instance of Session which is linked to the Support - * server, allowing the current instance to communicate with the Support - * server (CORS). - */ -return new Session(null, session.support_origin, { - modules: odoo._modules, - use_cors: true, -}); - -}); diff --git a/addons/im_support/static/src/js/systray_messaging_menu.js b/addons/im_support/static/src/js/systray_messaging_menu.js deleted file mode 100644 index faec67fbb9d..00000000000 --- a/addons/im_support/static/src/js/systray_messaging_menu.js +++ /dev/null @@ -1,71 +0,0 @@ -odoo.define('im_support.systray.MessagingMenu', function (require) { -"use strict"; - -var MessagingMenu = require('mail.systray.MessagingMenu'); - -var config = require('web.config'); -var core = require('web.core'); -var session = require('web.session'); - -var _t = core._t; -var SUPPORT_CHANNEL_ID = 'SupportChannel'; - -// Disable Support in mobile for design purposes (for now at least), and don't -// add it to the messaging dropdown if it isn't available -if (config.device.isMobile || !session.support_token || !session.support_origin) { - return; -} - -/** - * This module adds a fake Support channel in the messaging menu of the systray. - */ -MessagingMenu.include({ - /** - * @override - */ - init: function () { - this._super.apply(this, arguments); - this.supportChannel = { - id: SUPPORT_CHANNEL_ID, - name: _t("Odoo Live Support"), - title: _t("Odoo Live Support"), - imageSRC: '/mail/static/src/img/odoo_o.png', - }; - }, - /** - * Overrides to add a className to the bottom part of the dropdown - * (containing the Support channel), so that the css rules apply. This - * className can't be added directly in the template, otherwise - * this.$channels_preview would be a nodeset containing the bottom part as - * well, and it will cause rendering issues when the dropdown is rerendered. - * - * @override - */ - start: function () { - var self = this; - return this._super.apply(this, arguments).then(function () { - self.$('.o_mail_systray_dropdown_bottom').addClass('o_mail_systray_dropdown_items'); - }); - }, - - //-------------------------------------------------------------------------- - // Handlers - //-------------------------------------------------------------------------- - - /** - * Overrides to handle the click on the fake Support channel. - * - * @override - * @private - */ - _onClickPreview: function (ev) { - var id = $(ev.currentTarget).data('preview-id'); - if (id === SUPPORT_CHANNEL_ID) { - this.call('mail_service', 'startSupportLivechat'); - } else { - this._super.apply(this, arguments); - } - }, -}); - -}); diff --git a/addons/im_support/static/src/js/thread_window.js b/addons/im_support/static/src/js/thread_window.js deleted file mode 100644 index 9173ef21d41..00000000000 --- a/addons/im_support/static/src/js/thread_window.js +++ /dev/null @@ -1,67 +0,0 @@ -odoo.define('im_support.ThreadWindow', function (require) { -"use strict"; - -/** - * This module includes ThreadWindow to handle the case of the Support channel. - */ -var ThreadWindow = require('mail.ThreadWindow'); - -ThreadWindow.include({ - /** - * Overrides to tweak the options in the case of the Support channel (no - * star). - * - * @override - */ - init: function () { - this._super.apply(this, arguments); - var channel = this.call('mail_service', 'getChannel', this._getThreadID()); - if (channel && channel.getType() === 'support_channel') { - this.options.displayStars = false; - } - }, - /** - * Overrides to remove the attachment button in the Support channel as this - * feature does not work in that channel. - * - * @note: this feature could be enabled by storing the attachments on the - * Support server. - * @override - */ - start: function () { - var def = this._super.apply(this, arguments); - var channel = this.call('mail_service', 'getChannel', this._getThreadID()); - if (channel && channel.getType() === 'support_channel') { - this.$('.o_composer .o_composer_button_add_attachment').remove(); - if (!channel.isAvailable()) { - this.$('.o_thread_composer').remove(); - } - } - return def; - }, - - //-------------------------------------------------------------------------- - // Private - //-------------------------------------------------------------------------- - - /** - * Overrides to prevent from displaying a composer if there is no operator - * available. - * - * @override - * @private - */ - _needsComposer: function () { - var channel = this.call('mail_service', 'getChannel', this._getThreadID()); - if ( - channel && - channel.getType() === 'support_channel' && - !channel.isAvailable() - ) { - return false; - } - return this._super.apply(this, arguments); - }, -}); - -}); diff --git a/addons/im_support/static/src/scss/systray.scss b/addons/im_support/static/src/scss/systray.scss deleted file mode 100644 index bee87733dfe..00000000000 --- a/addons/im_support/static/src/scss/systray.scss +++ /dev/null @@ -1,13 +0,0 @@ -.o_mail_systray_item { - .o_mail_systray_dropdown { - .o_mail_systray_dropdown_bottom { - border-top: 1px solid gray('400'); - box-sizing: content-box; - - .o_preview_info { - display: flex; - align-items: center; - } - } - } -} diff --git a/addons/im_support/static/src/xml/discuss.xml b/addons/im_support/static/src/xml/discuss.xml deleted file mode 100644 index 8c00191de10..00000000000 --- a/addons/im_support/static/src/xml/discuss.xml +++ /dev/null @@ -1,29 +0,0 @@ - - diff --git a/addons/im_support/static/src/xml/systray.xml b/addons/im_support/static/src/xml/systray.xml deleted file mode 100644 index 1cb14637b36..00000000000 --- a/addons/im_support/static/src/xml/systray.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -
- - -
-
-
- -
diff --git a/addons/im_support/static/tests/helpers/test_utils.js b/addons/im_support/static/tests/helpers/test_utils.js deleted file mode 100644 index 370d66098b9..00000000000 --- a/addons/im_support/static/tests/helpers/test_utils.js +++ /dev/null @@ -1,90 +0,0 @@ -odoo.define('im_support.test_utils', function (require) { -"use strict"; - -var mailTestUtils = require('mail.testUtils'); -var supportSession = require('im_support.SupportSession'); - -var testUtils = require('web.test_utils'); - - -mailTestUtils.MockMailService.include({ - getServices: function () { - return _.extend(this._super(), { - support_bus_service: this.bus_service(), - }); - }, -}); - -/** - * Extended version of addMockEnvironment that mocks RPCs done to the Support - * server (CORS), and enables a longpolling to the Support server, optionally. - * - * @param {Widget} widget - * @param {Object} params - * @param {function} [params.mockSupportRPC] - * @param {boolean} [params.enableSupportPoll=false] - */ -async function addMockSupportEnvironment(widget, params) { - // mock CORS RPCs - var originalRPC = supportSession.rpc; - var defaultMockSupportRPC = function (route, args) { - if (route === '/odoo_im_support/get_support_channel') { - return Promise.resolve({ - available: true, - channel_type: 'livechat', - public: 'private', - uuid: args.channel_uuid, - }); - } - if (route === '/odoo_im_support/fetch_messages') { // fetching history - return Promise.resolve([]); - } - if (route === '/odoo_im_support/chat_post') { - return Promise.resolve(); - } - if (route === '/longpolling/support_poll') { - return Promise.resolve(); - } - }; - supportSession.rpc = function (route, args) { - var result; - if (params.mockSupportRPC) { - var _super = this._super; - this._super = defaultMockSupportRPC.bind(this, route, args); - result = params.mockSupportRPC.apply(this, arguments); - this._super = _super; - } else { - result = defaultMockSupportRPC.apply(this, arguments); - } - return result; - }; - await testUtils.mock.addMockEnvironment(widget, params); - var widgetDestroy = widget.destroy; - widget.destroy = function () { - supportSession.rpc = originalRPC; - widgetDestroy.call(this); - }; - - // intercepts the getItem call to localStorage service for key - // 'im_support.poll_timeout', to simulate a pending longpolling connection to - // the Support server, such that the initSupport initiates a poll connection - if (params.enableSupportPoll) { - testUtils.mock.intercept(widget, 'call_service', function (ev) { - if (ev.data.service === 'local_storage') { - if (ev.data.method === 'getItem' && ev.data.args[0] === 'im_support.poll_timeout') { - ev.data.callback(Date.now() + (60 * 1000)); - // hack to prevent the default mock to handle the request and erase the above value - ev.data.callback = function () {}; - } - } - }, true); - // manually call initSupport (which is supposed to be called at webclient startup) - widget.call('mail_service', 'initSupport'); - } -} - -return { - addMockSupportEnvironment: addMockSupportEnvironment, -}; - -}); diff --git a/addons/im_support/static/tests/systray_no_support_tests.js b/addons/im_support/static/tests/systray_no_support_tests.js deleted file mode 100644 index c56e371bc0e..00000000000 --- a/addons/im_support/static/tests/systray_no_support_tests.js +++ /dev/null @@ -1,55 +0,0 @@ -odoo.define('im_support.systray_no_support_tests', function (require) { -"use strict"; - -/** - * The purpose of these tests is to ensure that im_support doesn't have an impact - * on the webclient when the support is not available. - */ - -var mailTestUtils = require('mail.testUtils'); -var MessagingMenu = require('mail.systray.MessagingMenu'); - -var testUtils = require('web.test_utils'); - -mailTestUtils.MockMailService.include({ - getServices: function () { - return _.extend(this._super(), { - support_bus_service: this.bus_service(), - }); - }, -}); - -QUnit.module('im_support', {}, function () { - -QUnit.module('systray', { - beforeEach: function () { - this.data = { - 'mail.message': { - fields: {}, - }, - }; - this.services = mailTestUtils.getMailServices(); - }, -}); - -QUnit.test('messaging menu does not display the Support channel if not available', async function (assert) { - // the Support channel should only be displayed if a support_token and a support_origin are - // specified in the session, which is not the case for this test - assert.expect(1); - - var messagingMenu = new MessagingMenu(); - await testUtils.mock.addMockEnvironment(messagingMenu, { - data: this.data, - services: this.services, - }); - await messagingMenu.appendTo($('#qunit-fixture')); - - testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsNone(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]', "should not display the Support channel"); - - messagingMenu.destroy(); -}); - -}); - -}); diff --git a/addons/im_support/static/tests/systray_tests.js b/addons/im_support/static/tests/systray_tests.js deleted file mode 100644 index 75358276bc3..00000000000 --- a/addons/im_support/static/tests/systray_tests.js +++ /dev/null @@ -1,343 +0,0 @@ -odoo.define('im_support.systray_tests', function (require) { -"use strict"; - -var imSupportTestUtils = require('im_support.test_utils'); - -var mailTestUtils = require('mail.testUtils'); -var MessagingMenu = require('mail.systray.MessagingMenu'); - -var testUtils = require('web.test_utils'); - -var addMockSupportEnvironment = imSupportTestUtils.addMockSupportEnvironment; - -QUnit.module('im_support', {}, function () { - -QUnit.module('systray', { - beforeEach: function () { - this.data = { - 'mail.message': { - fields: {}, - }, - }; - this.services = mailTestUtils.getMailServices(); - - this.supportParams = { - db_uuid: 'some_uuid', - support_token: 'ABCDEFGHIJ', - support_origin: 'something.com', - }; - }, -}); - -QUnit.test('messaging menu displays the Support channel', async function (assert) { - assert.expect(1); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - await testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsOnce(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]', "should display the Support channel"); - - messagingMenu.destroy(); -}); - -QUnit.test('clicking on Support channel: channel not available', async function (assert) { - assert.expect(9); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - assert.step('cors: ' + route); - if (route === '/odoo_im_support/get_support_channel') { - return this._super.apply(this, arguments).then(function (supportChannel) { - supportChannel.available = false; - return supportChannel; - }); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - await testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsOnce(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]'); - - await testUtils.dom.click(messagingMenu.$('.o_mail_preview[data-preview-id=SupportChannel]')); - assert.strictEqual($('.o_thread_window').length, 1, - "should have open a chat window"); - assert.strictEqual($('.o_thread_window .o_thread_window_title').text().trim(), 'Support (offline)', - "should display the offline status in the header"); - assert.strictEqual($('.o_thread_window .o_composer_input').length, 0, - "should have no composer"); - - assert.verifySteps([ - '/mail/init_messaging', - 'message_fetch', - 'cors: /odoo_im_support/get_support_channel', - 'cors: /odoo_im_support/fetch_messages', - ]); - - messagingMenu.destroy(); -}); - -QUnit.test('clicking on Support channel: channel available', async function (assert) { - assert.expect(9); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - if (route.split('/')[1] === 'odoo_im_support') { - assert.step('cors: ' + route); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - await testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsOnce(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]'); - - await testUtils.dom.click(messagingMenu.$('.o_mail_preview[data-preview-id=SupportChannel]')); - assert.strictEqual($('.o_thread_window').length, 1, - "should have open a chat window"); - assert.strictEqual($('.o_thread_window .o_thread_window_title').text().trim(), 'Support', - "should display the correct thread title"); - assert.strictEqual($('.o_thread_window .o_composer_input').length, 1, - "should have a composer"); - - assert.verifySteps([ - '/mail/init_messaging', - 'message_fetch', - 'cors: /odoo_im_support/get_support_channel', - 'cors: /odoo_im_support/fetch_messages', - ]); - - messagingMenu.destroy(); -}); - -QUnit.test('post messages in Support channel', async function (assert) { - assert.expect(8); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - if (route.split('/')[1] === 'odoo_im_support') { - assert.step('cors: ' + route); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - await testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsOnce(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]'); - - await testUtils.dom.click(messagingMenu.$('.o_mail_preview[data-preview-id=SupportChannel]')); - assert.strictEqual($('.o_thread_window .o_composer_input').length, 1, - "should have a composer"); - - await testUtils.fields.editInput($('.o_thread_window .o_composer_input .o_input'), 'some message'); - await testUtils.fields.triggerKeydown($('.o_thread_window .o_composer_input .o_input'), 'enter'); - - assert.verifySteps([ - '/mail/init_messaging', - 'message_fetch', - 'cors: /odoo_im_support/get_support_channel', - 'cors: /odoo_im_support/fetch_messages', - 'cors: /odoo_im_support/chat_post', - ]); - - messagingMenu.destroy(); -}); - -QUnit.test('fold Support channel', async function (assert) { - assert.expect(11); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - if (route.split('/')[1] === 'odoo_im_support') { - assert.step('cors: ' + route); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - testUtils.mock.intercept(messagingMenu, 'call_service', function (ev) { - if (ev.data.service === 'local_storage') { - assert.step('LocalStorage: ' + ev.data.method + ' ' + ev.data.args); - } - }, true); - await messagingMenu.appendTo($('#qunit-fixture')); - - await testUtils.dom.click(messagingMenu.$('.dropdown-toggle')); - assert.containsOnce(messagingMenu, '.o_mail_systray_dropdown_bottom .o_mail_preview[data-preview-id=SupportChannel]'); - - await testUtils.dom.click(messagingMenu.$('.o_mail_preview[data-preview-id=SupportChannel]')); - assert.strictEqual($('.o_thread_window').length, 1, - "should have open a chat window"); - - // fold, re-open and close channel - await testUtils.dom.click($('.o_thread_window .o_thread_window_title')); - await testUtils.dom.click($('.o_thread_window .o_thread_window_title')); - testUtils.dom.click($('.o_thread_window .o_thread_window_close')); - - assert.verifySteps([ - '/mail/init_messaging', - 'message_fetch', - 'cors: /odoo_im_support/get_support_channel', - 'LocalStorage: setItem im_support.channel_state,open', - 'cors: /odoo_im_support/fetch_messages', - 'LocalStorage: setItem im_support.channel_state,folded', - 'LocalStorage: setItem im_support.channel_state,open', - 'LocalStorage: setItem im_support.channel_state,closed', - ]); - - messagingMenu.destroy(); -}); - -QUnit.test('restore Support channel if necessary', async function (assert) { - assert.expect(5); - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - enableSupportPoll: true, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - if (route.split('/')[1] === 'odoo_im_support') { - assert.step('cors: ' + route); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - assert.strictEqual($('.o_thread_window').length, 1, - "should have open a chat window"); - - assert.verifySteps([ - '/mail/init_messaging', - 'cors: /odoo_im_support/get_support_channel', - 'cors: /odoo_im_support/fetch_messages', - ]); - - messagingMenu.destroy(); -}); - -QUnit.test('receive messages in the Support channel', async function (assert) { - assert.expect(10); - - var supportChannelID; - - var messagingMenu = new MessagingMenu(); - await addMockSupportEnvironment(messagingMenu, { - data: this.data, - enableSupportPoll: true, - mockRPC: function (route, args) { - if (!_.string.endsWith(route, '.png')) { // ignore images - assert.step(args.method || route); - } - return this._super.apply(this, arguments); - }, - mockSupportRPC: function (route) { - if (route.split('/')[1] === 'odoo_im_support') { - assert.step('cors: ' + route); - } - return this._super.apply(this, arguments); - }, - services: this.services, - session: this.supportParams, - }); - await testUtils.nextTick(); - await messagingMenu.appendTo($('#qunit-fixture')); - - assert.strictEqual($('.o_thread_window').length, 1, - "should have open a chat window"); - assert.strictEqual($('.o_thread_window .o_thread_message').length, 0, - "there should be no message in the thread"); - - // simulate an incoming message on the supportBus - var data = { - author_id: [42, 'An operator'], - body: 'A message', - channel_ids: [supportChannelID], - }; - var notification = [[false, 'mail.channel', 1], data]; - messagingMenu.call('support_bus_service', 'trigger', 'notification', [notification]); - await testUtils.nextTick(); - - assert.strictEqual($('.o_thread_window .o_thread_message').length, 1, - "there should be a new message in the thread"); - assert.strictEqual($('.o_thread_window .o_thread_message .o_thread_author ').text().trim(), - 'An operator', "should correctly display the author"); - assert.hasAttrValue($('.o_thread_window .o_thread_message .o_thread_message_avatar'), 'data-src', - '/mail/static/src/img/odoo_o.png', "should have correct avatar"); - assert.strictEqual($('.o_thread_window .o_thread_message .o_thread_message_content ').text().trim(), - 'A message', "message is correct"); - - assert.verifySteps([ - '/mail/init_messaging', - 'cors: /odoo_im_support/get_support_channel', - 'cors: /odoo_im_support/fetch_messages', - ]); - - messagingMenu.destroy(); -}); - -}); - -}); diff --git a/addons/im_support/tests/__init__.py b/addons/im_support/tests/__init__.py deleted file mode 100644 index b9df3527588..00000000000 --- a/addons/im_support/tests/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from . import test_js diff --git a/addons/im_support/tests/test_js.py b/addons/im_support/tests/test_js.py deleted file mode 100644 index 6f745b74a79..00000000000 --- a/addons/im_support/tests/test_js.py +++ /dev/null @@ -1,11 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -import odoo.tests - - -@odoo.tests.tagged('post_install', '-at_install') -class IMSupportSuite(odoo.tests.HttpCase): - - def test_im_support_js(self): - self.browser_js('/im_support/tests?mod=web&failfast', "", "", login='admin', timeout=180) diff --git a/addons/im_support/views/assets.xml b/addons/im_support/views/assets.xml deleted file mode 100644 index 7886ac6e2fc..00000000000 --- a/addons/im_support/views/assets.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - diff --git a/addons/mail/static/src/js/models/threads/thread.js b/addons/mail/static/src/js/models/threads/thread.js index 16635cfaf4f..1e99ee84c11 100644 --- a/addons/mail/static/src/js/models/threads/thread.js +++ b/addons/mail/static/src/js/models/threads/thread.js @@ -166,10 +166,7 @@ var Thread = AbstractThread.extend(ServicesMixin, { return this._unreadCounter !== 0; }, /** - * Increments the needaction counter of this thread - * FIXME: this method makes only sense for channels. Not sure, but I think - * this method is necessary at this level because of the model - * im_support.SupportChannel + * Increments the needaction counter of this thread. * * @abstract */