Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIG 9.0 support_branding #430

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion support_branding/README.rst
Original file line number Diff line number Diff line change
@@ -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
================

Expand Down Expand Up @@ -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:

#. On developer mode go to Settings > Technical > Paremeters > System Parameters
#. Configure parameters related with support branding
#. Support branding is showed on left menu and when raises an exception
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something's missing here


.. 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
===========

Expand All @@ -69,6 +85,7 @@ Contributors

* Holger Brunn <hbrunn@therp.nl>
* Stefan Rijnhart <srijnhart@therp.nl>
* Angel Moya <odoo@tecnativa.com>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after you rewrote the js part to v9 api, I'd consider it a serious contribution. As it is, I think this is not warranted


Icon
----
Expand Down
28 changes: 6 additions & 22 deletions support_branding/__openerp__.py
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -36,5 +20,5 @@
"data/ir_config_parameter.xml",
'views/qweb.xml',
],
'installable': False,
'installable': True,
}
2 changes: 1 addition & 1 deletion support_branding/data/ir_config_parameter.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
50 changes: 50 additions & 0 deletions support_branding/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -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 changes: 50 additions & 0 deletions support_branding/i18n/de.po
Original file line number Diff line number Diff line change
@@ -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 changes: 50 additions & 0 deletions support_branding/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 changes: 50 additions & 0 deletions support_branding/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -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 changes: 50 additions & 0 deletions support_branding/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -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 changes: 50 additions & 0 deletions support_branding/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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"
Loading