mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Merge pull request #469 from hbrunn/9.0-support_branding
9.0 support branding
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:alt: License: AGPL-3
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
================
|
||||
Support branding
|
||||
================
|
||||
|
||||
@@ -52,6 +54,20 @@ add the following XML::
|
||||
Note that the email button is only visible if you configure an email address,
|
||||
the default is empty!
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
To use this module, you need to:
|
||||
|
||||
#. In developer mode go to Settings > Technical > Paremeters > System Parameters
|
||||
#. Configure parameters related with support branding
|
||||
#. Support branding is shown in the lower part of the left menu and when an exception is raised, the user is asked to provide some details in order to send a mail to the configured support email address.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/162/9.0
|
||||
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
@@ -69,6 +85,7 @@ Contributors
|
||||
|
||||
* Holger Brunn <hbrunn@therp.nl>
|
||||
* Stefan Rijnhart <srijnhart@therp.nl>
|
||||
* Angel Moya <odoo@tecnativa.com>
|
||||
|
||||
Icon
|
||||
----
|
||||
|
||||
@@ -1,30 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# This module copyright (C) 2012-2015 Therp BV (<http://therp.nl>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
# Copyright 2012-2015 Therp BV (<http://therp.nl>)
|
||||
# Copyright 2016 - Tecnativa - Angel Moya <odoo@tecnativa.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Support branding",
|
||||
"summary": "Adds your branding to an Odoo instance",
|
||||
"category": "Dependecy/Hidden",
|
||||
"version": "8.0.2.0.0",
|
||||
"version": "9.0.2.0.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "Therp BV,Odoo Community Association (OCA)",
|
||||
"author": "Therp BV,Tecnativa,Odoo Community Association (OCA)",
|
||||
"website": 'http://therp.nl',
|
||||
"depends": [
|
||||
'web',
|
||||
@@ -36,5 +20,5 @@
|
||||
"data/ir_config_parameter.xml",
|
||||
'views/qweb.xml',
|
||||
],
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
<record id="config_parameter_company_name" model="ir.config_parameter">
|
||||
<field name="key">support_branding.company_name</field>
|
||||
<field name="value">Odoo Community Association (OCA)</field>
|
||||
|
||||
50
support_branding/i18n/ar.po
Normal file
50
support_branding/i18n/ar.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# SaFi J. <safi2266@gmail.com>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-12-16 07:41+0000\n"
|
||||
"PO-Revision-Date: 2015-12-16 16:26+0000\n"
|
||||
"Last-Translator: SaFi J. <safi2266@gmail.com>\n"
|
||||
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr "مدعوم بواسطة"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "إرسال بريد الكتروني إلى %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "إرسال بريد الكتروني إلى دعم الشركة"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "الرجاء الملأ كيف نتج هذا الخطأ ..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "الإصدار"
|
||||
50
support_branding/i18n/de.po
Normal file
50
support_branding/i18n/de.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Rudolf Schnapka <rs@techno-flex.de>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-01-10 07:31+0000\n"
|
||||
"PO-Revision-Date: 2016-01-18 20:58+0000\n"
|
||||
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
|
||||
"Language-Team: German (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", unterstützt durch"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Email an %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Email an Support-Unternehmen"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Bitte geben Sie an, wie Sie den Fehler ausgelöst haben..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Version"
|
||||
50
support_branding/i18n/es.po
Normal file
50
support_branding/i18n/es.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-23 13:46+0000\n"
|
||||
"PO-Revision-Date: 2015-11-07 11:24+0000\n"
|
||||
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", mantenido por"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Correo electrónico a %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Correo electrónico a la empresa de mantenimiento"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Por favor rellene la información de cómo se produce este error..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versión"
|
||||
50
support_branding/i18n/fi.po
Normal file
50
support_branding/i18n/fi.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-01-10 07:31+0000\n"
|
||||
"PO-Revision-Date: 2016-02-01 09:51+0000\n"
|
||||
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>\n"
|
||||
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", tuesta vastuussa: "
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Lähetä sähköpostia vastaanottajalle %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Lähetä sähköpostia tukevalla yritykselle"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Ole hyvä ja kuvaa kuinka sait vikatilanteen aikaan..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versio"
|
||||
50
support_branding/i18n/fr.po
Normal file
50
support_branding/i18n/fr.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-05-06 15:50+0000\n"
|
||||
"PO-Revision-Date: 2016-05-06 08:19+0000\n"
|
||||
"Last-Translator: Christophe CHAUVET <christophe.chauvet@gmail.com>\n"
|
||||
"Language-Team: French (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", supporté par"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Envoyer un courriel à %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Envoyer un courriel au support société"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Veuillez indiquer comment vous avez produit cette erreur..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Version"
|
||||
50
support_branding/i18n/it.po
Normal file
50
support_branding/i18n/it.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Paolo Valier, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-03-17 07:29+0000\n"
|
||||
"PO-Revision-Date: 2016-03-19 10:15+0000\n"
|
||||
"Last-Translator: Paolo Valier\n"
|
||||
"Language-Team: Italian (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ""
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Email a %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr ""
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr ""
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versione"
|
||||
@@ -1,24 +1,21 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-01-30 10:05+0000\n"
|
||||
"PO-Revision-Date: 2015-01-30 10:05+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2015-11-23 13:46+0000\n"
|
||||
"PO-Revision-Date: 2015-11-07 11:19+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Dutch (http://www.transifex.com/oca/OCA-web-8-0/language/nl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version "
|
||||
msgstr "Versie "
|
||||
"Language: nl\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
@@ -27,22 +24,26 @@ msgstr ", ondersteund door"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:39
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "E-mail naar %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:9
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "E-mail naar ondersteunend bedrijf"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:9
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Beschrijft u alstublieft de stappen om deze fout te reproduceren..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr ""
|
||||
|
||||
50
support_branding/i18n/pt_BR.po
Normal file
50
support_branding/i18n/pt_BR.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# danimaribeiro <danimaribeiro@gmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-03-11 02:17+0000\n"
|
||||
"PO-Revision-Date: 2016-03-05 16:05+0000\n"
|
||||
"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", suportado por"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Email para %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Email para empresa de suporte"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Por favor conte como você produziu este erro ..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versão"
|
||||
50
support_branding/i18n/pt_PT.po
Normal file
50
support_branding/i18n/pt_PT.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Pedro Castro Silva <pedrocs@sossia.pt>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-04-22 15:47+0000\n"
|
||||
"PO-Revision-Date: 2016-04-23 18:23+0000\n"
|
||||
"Last-Translator: Pedro Castro Silva <pedrocs@sossia.pt>\n"
|
||||
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-web-8-0/language/pt_PT/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_PT\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", suportada por"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "Enviar email a %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Enviar email à empresa de suporte"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Por favor, introduza a forma como produziu este erro..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versão"
|
||||
@@ -1,26 +1,22 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-02 10:23+0200\n"
|
||||
"PO-Revision-Date: 2015-08-02 10:24+0200\n"
|
||||
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>\n"
|
||||
"Language-Team: \n"
|
||||
"POT-Creation-Date: 2015-11-23 13:46+0000\n"
|
||||
"PO-Revision-Date: 2015-11-08 05:43+0000\n"
|
||||
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
|
||||
"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-web-8-0/language/sl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
"X-Generator: Poedit 1.8.2\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sl\n"
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version "
|
||||
msgstr "Verzija"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
@@ -29,21 +25,26 @@ msgstr ", podpora"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:39
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "E-pošta za %s"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:9
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to Company"
|
||||
msgstr "E-pošta za družbo"
|
||||
msgid "Email to support company"
|
||||
msgstr "Pošlji e-pošto družbi za podporo"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:9
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Opišite, kako ste prišli do te napake..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Verzija"
|
||||
|
||||
50
support_branding/i18n/tr.po
Normal file
50
support_branding/i18n/tr.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * support_branding
|
||||
#
|
||||
# Translators:
|
||||
# Ahmet Altınışık <aaltinisik@altinkaya.com.tr>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: web (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-01-08 21:34+0000\n"
|
||||
"PO-Revision-Date: 2015-12-30 21:58+0000\n"
|
||||
"Last-Translator: Ahmet Altınışık <aaltinisik@altinkaya.com.tr>\n"
|
||||
"Language-Team: Turkish (http://www.transifex.com/oca/OCA-web-8-0/language/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: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid ", supported by"
|
||||
msgstr ", destekleyen"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/js/support_branding.js:106
|
||||
#, python-format
|
||||
msgid "Email to %s"
|
||||
msgstr "%s ye eposta"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:12
|
||||
#, python-format
|
||||
msgid "Email to support company"
|
||||
msgstr "Destek şirketine e-posta göder"
|
||||
|
||||
#. module: support_branding
|
||||
#. openerp-web
|
||||
#: code:addons/support_branding/static/src/xml/base.xml:10
|
||||
#, python-format
|
||||
msgid "Please fill in how you produced this error..."
|
||||
msgstr "Bu hatanın nasıl oluştuğunu yazın..."
|
||||
|
||||
#. module: support_branding
|
||||
#: view:website:web.menu_secondary
|
||||
msgid "Version"
|
||||
msgstr "Versiyon"
|
||||
@@ -1,109 +1,86 @@
|
||||
/*
|
||||
/* Copyright 2012-2015 Therp
|
||||
* Copyright 2016 - Tecnativa - Angel Moya <odoo@tecnativa.com>
|
||||
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
|
||||
|
||||
Copyright (C) 2012-2015 Therp BV
|
||||
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3 or any later version
|
||||
|
||||
Usage: if you run an OpenERP support company and you support
|
||||
customers without an OPW, you can brand the OpenERP instance
|
||||
accordingly using this module. Please enter the two variables
|
||||
in the code below, 'support_name' and 'support_link'. They will
|
||||
replace the unfriendly message about the OpenERP instance not
|
||||
being supported.
|
||||
|
||||
*/
|
||||
|
||||
openerp.support_branding = function(instance) {
|
||||
var QWeb = instance.web.qweb,
|
||||
_t = instance.web._t;
|
||||
|
||||
instance.web.CrashManager.include({
|
||||
init: function()
|
||||
{
|
||||
odoo.define('web.support_branding', function(require) {
|
||||
var CrashManager = require('web.CrashManager');
|
||||
var core = require('web.core');
|
||||
var Model = require('web.Model');
|
||||
var _t = core._t;
|
||||
CrashManager.include({
|
||||
init: function() {
|
||||
var self = this,
|
||||
ir_config_parameter = new openerp.web.Model('ir.config_parameter');
|
||||
ir_config_parameter = new Model('ir.config_parameter');
|
||||
ir_config_parameter.call(
|
||||
'get_param', ['support_branding.support_email']).then(
|
||||
function(email)
|
||||
{
|
||||
function(email) {
|
||||
self.support_branding_support_email = email;
|
||||
});
|
||||
ir_config_parameter.call(
|
||||
'get_param', ['support_branding.company_name']).then(
|
||||
function(name)
|
||||
{
|
||||
function(name) {
|
||||
self.support_branding_company_name = name;
|
||||
});
|
||||
return this._super(this, arguments);
|
||||
},
|
||||
show_error: function(error)
|
||||
{
|
||||
show_error: function(error) {
|
||||
var self = this;
|
||||
this._super.apply(this, arguments);
|
||||
jQuery('.support-branding-submit-form').each(function()
|
||||
{
|
||||
jQuery('.support-branding-submit-form').each(function() {
|
||||
var $form = jQuery(this),
|
||||
$button = $form.find('button'),
|
||||
$description = $form.find('textarea[name="description"]'),
|
||||
$subject = $form.find('input[name="subject"]'),
|
||||
$body = $form.find('input[name="body"]');
|
||||
if(self.support_branding_support_email)
|
||||
{
|
||||
if (self.support_branding_support_email) {
|
||||
$form.attr(
|
||||
'action',
|
||||
'mailto:' + self.support_branding_support_email);
|
||||
$form.parents('.modal').find('.modal-body')
|
||||
.css('max-height', '70vh');
|
||||
$button.click(function(ev)
|
||||
{
|
||||
var mail_mail = new instance.web.Model('mail.mail');
|
||||
if(!$description.val())
|
||||
{
|
||||
$button.click(function(ev) {
|
||||
var mail_mail = new Model('mail.mail');
|
||||
if (!$description.val()) {
|
||||
$description.parent().addClass('oe_form_invalid');
|
||||
ev.preventDefault();
|
||||
return;
|
||||
}
|
||||
mail_mail.call(
|
||||
'create',
|
||||
[{
|
||||
state: 'outgoing',
|
||||
auto_delete: false,
|
||||
email_to: self.support_branding_support_email,
|
||||
subject: $subject.val(),
|
||||
body_html: jQuery('<div/>').append(
|
||||
jQuery('<div/>').text($description.val()),
|
||||
jQuery('<pre/>').text($body.val())
|
||||
).html(),
|
||||
}])
|
||||
.then(function(mail_id)
|
||||
{
|
||||
return mail_mail.call('send', [[mail_id]]);
|
||||
}, function()
|
||||
{
|
||||
// if the call failed, fire the mailto link
|
||||
// hoping there is a properly configured email
|
||||
// client
|
||||
$body.val($description.val() + '\n' + $body.val())
|
||||
$button.unbind('click');
|
||||
$button.click();
|
||||
})
|
||||
.then(function()
|
||||
{
|
||||
$form.parents('.modal').modal('hide');
|
||||
});
|
||||
'create', [{
|
||||
state: 'outgoing',
|
||||
auto_delete: true,
|
||||
email_to: self.support_branding_support_email,
|
||||
subject: $subject.val(),
|
||||
body_html: jQuery('<div/>').append(
|
||||
jQuery('<div/>').text($description.val()),
|
||||
jQuery('<pre/>').text($body.val())
|
||||
).html(),
|
||||
}])
|
||||
.then(function(mail_id) {
|
||||
return mail_mail.call('send', [
|
||||
[mail_id]
|
||||
]);
|
||||
}, function() {
|
||||
// if the call failed, fire the mailto link
|
||||
// hoping there is a properly configured email
|
||||
// client
|
||||
$body.val($description.val() + '\n' + $body.val());
|
||||
$button.unbind('click');
|
||||
$button.click();
|
||||
})
|
||||
.then(function() {
|
||||
$form.parents('.modal').modal('hide');
|
||||
});
|
||||
ev.preventDefault();
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$description.hide();
|
||||
$button.hide();
|
||||
}
|
||||
if(self.support_branding_company_name)
|
||||
{
|
||||
if (self.support_branding_company_name) {
|
||||
$button.text(
|
||||
_.str.sprintf(
|
||||
openerp.web._t('Email to %s'),
|
||||
_t('Email to %s'),
|
||||
self.support_branding_company_name));
|
||||
}
|
||||
$form.prependTo(
|
||||
@@ -111,4 +88,6 @@ openerp.support_branding = function(instance) {
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
// this is already instantiated, so we need to call init manually
|
||||
require('web.crash_manager').init();
|
||||
});
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="oe_form_field_text oe_form_required">
|
||||
<textarea name="description" placeholder="Please fill in how you produced this error..." class="" />
|
||||
</div>
|
||||
<button class="oe_highlight">Email to support company</button>
|
||||
<button class="btn btn-sm oe_button btn-primary">Email to support company</button>
|
||||
</form>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
</template>
|
||||
<template id="menu_secondary" inherit_id="web.menu_secondary">
|
||||
<xpath expr="//div[@class='oe_footer']" position="inside">
|
||||
<span>, supported by <a target="_new" t-att-href="request.env['ir.config_parameter'].get_param('support_branding.company_url')" t-att-style="'color: ' + request.env['ir.config_parameter'].get_param('support_branding.company_color')"><t t-esc="request.env['ir.config_parameter'].get_param('support_branding.company_name')" /></a></span>
|
||||
<span>, supported by <a target="_new" t-att-href="request.env['ir.config_parameter'].get_param('support_branding.company_url')" t-att-style="'color: ' + request.env['ir.config_parameter'].get_param('support_branding.company_color')"><t t-esc="request.env['ir.config_parameter'].get_param('support_branding.company_name')" /></a>
|
||||
<div t-if="request.env['ir.config_parameter'].get_param('support_branding.release')">Version <t t-esc="request.env['ir.config_parameter'].get_param('support_branding.release')" /></div>
|
||||
</span>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user