-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
33 changed files
with
1,214 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
====================== | ||
Web Environment Ribbon | ||
====================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:9a08035950044b08a0f55bd6ff0b05de48c9cb8abd74df63a5579dbf1510048b | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github | ||
:target: https:/OCA/web/tree/18.0/web_environment_ribbon | ||
:alt: OCA/web | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_environment_ribbon | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Mark a Test Environment with a red ribbon on the top left corner in | ||
every page | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
- You can change the ribbon's name ("TEST") by editing the default | ||
system parameter "ribbon.name" (in the menu Settings > Technical > | ||
Parameters > System Parameters) To hide the ribbon, set this | ||
parameter to "False" or delete it and refresh the page. | ||
|
||
- You can customize the ribbon color and background color through | ||
system parameters: "ribbon.color", "ribbon.background.color". Fill | ||
with valid CSS colors or just set to "False" to use default values. | ||
|
||
- You can add the database name in the ribbon by adding "{db_name}" in | ||
the system parameter "ribbon.name". | ||
|
||
`configure_1 <../static/description/configure_1.png>`__ | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need only to install it. After installation, a | ||
red ribbon will be visible on top left corner of every Odoo backend page | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https:/OCA/web/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https:/OCA/web/issues/new?body=module:%20web_environment_ribbon%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* Francesco OpenCode Apruzzese | ||
* Tecnativa | ||
|
||
Contributors | ||
------------ | ||
|
||
- Francesco Apruzzese <[email protected]> | ||
- Javi Melendez <[email protected]> | ||
- Antonio Espinosa <[email protected]> | ||
- Thomas Binsfeld <[email protected]> | ||
- Xavier Jiménez <[email protected]> | ||
- Dennis Sluijk <[email protected]> | ||
- Eric Lembregts <[email protected]> | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/web <https:/OCA/web/tree/18.0/web_environment_ribbon>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 2015 Francesco OpenCode Apruzzese <[email protected]> | ||
# Copyright 2016 Antonio Espinosa <[email protected]> | ||
# Copyright 2017 Thomas Binsfeld <[email protected]> | ||
# Copyright 2017 Xavier Jiménez <[email protected]> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Web Environment Ribbon", | ||
"version": "18.0.1.0.0", | ||
"category": "Web", | ||
"author": "Francesco OpenCode Apruzzese, " | ||
"Tecnativa, " | ||
"Odoo Community Association (OCA)", | ||
"website": "https:/OCA/web", | ||
"license": "AGPL-3", | ||
"depends": ["web"], | ||
"data": [ | ||
"data/ribbon_data.xml", | ||
], | ||
"auto_install": False, | ||
"installable": True, | ||
"assets": { | ||
"web.assets_backend": [ | ||
"web_environment_ribbon/static/src/components/environment_ribbon/*", | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2015 Francesco OpenCode Apruzzese <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo noupdate="1"> | ||
<!-- Add ribbon name default configuration parameter --> | ||
<record id="default_ribbon_name" model="ir.config_parameter"> | ||
<field name="key">ribbon.name</field> | ||
<field name="value"><![CDATA[TEST<br/>({db_name})]]></field> | ||
</record> | ||
<!-- Add ribbon color configuration parameter --> | ||
<record id="set_ribbon_color" model="ir.config_parameter"> | ||
<field name="key">ribbon.color</field> | ||
<field name="value">#f0f0f0</field> | ||
</record> | ||
<!-- Add ribbon background color configuration parameter --> | ||
<record id="set_ribbon_background_color" model="ir.config_parameter"> | ||
<field name="key">ribbon.background.color</field> | ||
<field name="value">rgba(255,0,0,.6)</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 13.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2020-02-02 22:13+0000\n" | ||
"Last-Translator: eduardgm <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: ca\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 3.10\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Backend \"Web Environment Ribbon\"" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Nom mostrat" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Última modificació el" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
# Translators: | ||
# Niki Waibel <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-07-13 16:06+0000\n" | ||
"PO-Revision-Date: 2020-07-22 12:19+0000\n" | ||
"Last-Translator: c2cdidier <[email protected]>\n" | ||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 3.10\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Web-Umgebung Ribbon-Backend" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Anzeigename" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Zuletzt geändert am" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2019-08-04 17:44+0000\n" | ||
"Last-Translator: eduardgm <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 3.7.1\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Backend \"Web Environment Ribbon\"" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Nombre mostrado" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Última modificación el" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 2017 | ||
# Quentin THEURET <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-07-26 02:44+0000\n" | ||
"PO-Revision-Date: 2017-07-26 02:44+0000\n" | ||
"Last-Translator: Quentin THEURET <[email protected]>, 2017\n" | ||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Backend du bandeau de l'environnement Web" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Nom affiché" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Dernière modification le" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
# Translators: | ||
# Bole <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-07-13 16:06+0000\n" | ||
"PO-Revision-Date: 2023-01-04 02:41+0000\n" | ||
"Last-Translator: Bole <[email protected]>\n" | ||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" | ||
"Language: hr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \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" | ||
"X-Generator: Weblate 4.14.1\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Pozadina trake okoline" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Naziv za prikaz" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Zadnje modificirano" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 17.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-02-04 16:34+0000\n" | ||
"Last-Translator: mymage <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: it\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Nastro ambiente web backend" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_environment_ribbon | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2021-05-17 20:47+0000\n" | ||
"Last-Translator: Bosd <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: nl\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.3.2\n" | ||
|
||
#. module: web_environment_ribbon | ||
#: model:ir.model,name:web_environment_ribbon.model_web_environment_ribbon_backend | ||
msgid "Web Environment Ribbon Backend" | ||
msgstr "Web Environment Ribbon Backend" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Weergavenaam" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Laatst Gewijzigd op" |
Oops, something went wrong.