-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4613][ADD] web_field_tooltip (#165)
* [ADD] web_field_tooltip
- Loading branch information
Showing
34 changed files
with
1,825 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 @@ | ||
../../../../web_field_tooltip |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
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,99 @@ | ||
================= | ||
Web Field Tooltip | ||
================= | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:8bed9817234b31b15cec1799f3a9608a3974db3a8263995e3e9e3605c546a14d | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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://github.com/OCA/web/tree/16.0/web_field_tooltip | ||
:alt: OCA/web | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_field_tooltip | ||
: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=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module gives the possibility to add tooltips next to fields labels on any | ||
field of a model. The tooltip displays an html field. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
* Go to Settings / Technical / Database Structure / Fields Tooltips and | ||
configure tooltips for a field for a model. You will then be able to see | ||
on the form view of the model you chose, next to the label of the field you | ||
selected, the tooltip appear. | ||
|
||
* You can also go directly on the form view of a model on which you want to | ||
add a tooltip and use the Manage tooltips Action to add a new tooltip, or edit | ||
or delete existing tooltips for this model. | ||
|
||
* For manager users, they can decide to display an helper to add a tooltip | ||
on a field as some fields are not displayed with a label. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* Find a way to update form views after tooltips update without refreshing manually | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/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://github.com/OCA/web/issues/new?body=module:%20web_field_tooltip%0Aversion:%2016.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 | ||
~~~~~~~ | ||
|
||
* ACSONE SA/NV | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Benoit Aimont <[email protected]> (https://www.acsone.eu/) | ||
|
||
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://github.com/OCA/web/tree/16.0/web_field_tooltip>`_ 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,32 @@ | ||
# Copyright 2019 - TODAY Serpent Consulting Services Pvt. Ltd. | ||
# Copyright 2023 ACSONE SA/NV | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Web Field Tooltip", | ||
"summary": """ | ||
Displays customizable tooltips for fields""", | ||
"version": "16.0.1.1.0", | ||
"license": "AGPL-3", | ||
"author": "ACSONE SA/NV,Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/web", | ||
"depends": ["web"], | ||
"data": [ | ||
"security/res_groups.xml", | ||
"security/ir_model_access.xml", | ||
"views/ir_model_fields_tooltip.xml", | ||
"views/res_users.xml", | ||
], | ||
"assets": { | ||
"web.assets_backend": [ | ||
"/web_field_tooltip/static/src/components/field_tooltip/field_tooltip.esm.js", | ||
"/web_field_tooltip/static/src/components/field_tooltip/field_tooltip.scss", | ||
"/web_field_tooltip/static/src/components/field_tooltip/field_tooltip.xml", | ||
"/web_field_tooltip/static/src/views/form/form_controller.esm.js", | ||
"/web_field_tooltip/static/src/views/form/form_label.esm.js", | ||
"/web_field_tooltip/static/src/views/form/form_label.xml", | ||
"/web_field_tooltip/static/src/views/list/list_renderer.esm.js", | ||
"/web_field_tooltip/static/src/views/list/list_renderer.xml", | ||
], | ||
}, | ||
} |
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,188 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * web_field_tooltip | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 13.0+e\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-08-01 08:24+0000\n" | ||
"PO-Revision-Date: 2024-05-15 12:38+0000\n" | ||
"Last-Translator: Hughes Damry <[email protected]>\n" | ||
"Language-Team: \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" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: web_field_tooltip | ||
#. odoo-python | ||
#: code:addons/web_field_tooltip/models/ir_model_fields_tooltip.py:0 | ||
#, python-format | ||
msgid "A tooltip already exists for this field" | ||
msgstr "Une infobulle existe déjà pour ce champ" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__active | ||
msgid "Active" | ||
msgstr "" | ||
|
||
#. module: web_field_tooltip | ||
#: model_terms:ir.ui.view,arch_db:web_field_tooltip.ir_model_fields_tooltip_form_view | ||
#: model_terms:ir.ui.view,arch_db:web_field_tooltip.ir_model_fields_tooltip_search_view | ||
msgid "Archived" | ||
msgstr "Archivé" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model,name:web_field_tooltip.model_base | ||
msgid "Base" | ||
msgstr "" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__create_uid | ||
msgid "Created by" | ||
msgstr "Créé par" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__create_date | ||
msgid "Created on" | ||
msgstr "Créé le" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__field_id | ||
msgid "Field" | ||
msgstr "Champ" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__field_name | ||
msgid "Field Name" | ||
msgstr "Nom de Champ" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model,name:web_field_tooltip.model_ir_model_fields_tooltip | ||
msgid "Field Tooltip" | ||
msgstr "Infobulle de Champ" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.actions.act_window,name:web_field_tooltip.ir_model_fields_tooltip_act_window | ||
#: model:ir.ui.menu,name:web_field_tooltip.ir_model_fields_tooltip_menu | ||
msgid "Fields Tooltips" | ||
msgstr "Infobulles" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model,name:web_field_tooltip.model_ir_http | ||
msgid "HTTP Routing" | ||
msgstr "Routage HTTP" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière modification le" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Dernière mise à jour par" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__write_date | ||
msgid "Last Updated on" | ||
msgstr "Dernière mise à jour le" | ||
|
||
#. module: web_field_tooltip | ||
#. odoo-javascript | ||
#: code:addons/web_field_tooltip/static/src/views/form/form_controller.esm.js:0 | ||
#, python-format | ||
msgid "Manage tooltips" | ||
msgstr "Gestion des infobulles" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__model_id | ||
msgid "Model" | ||
msgstr "Modèle" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__model | ||
msgid "Model Name" | ||
msgstr "Nom de Modèle" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,help:web_field_tooltip.field_ir_model_fields_tooltip__model_id | ||
msgid "Model for the Field Tooltip." | ||
msgstr "Modèle pour l'Infobulle de Champ" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__name | ||
msgid "Name" | ||
msgstr "Nom" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,help:web_field_tooltip.field_ir_model_fields_tooltip__active | ||
msgid "Set active to false to hide the Tooltip without removing it." | ||
msgstr "" | ||
"Mettre le champ actif à faux pour masquer l'Infobulle sans la supprimer." | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_res_users__tooltip_show_add_helper | ||
msgid "Show helper to add tooltips on fields" | ||
msgstr "Afficher l'aide pour l'ajout des infobulles sur les champs" | ||
|
||
#. module: web_field_tooltip | ||
#: model:res.groups,comment:web_field_tooltip.group_tooltip_manager | ||
msgid "The user will be able to manage all the tooltips." | ||
msgstr "L'utilisateur pourra gérer toutes les infobulles." | ||
|
||
#. module: web_field_tooltip | ||
#: model:res.groups,name:web_field_tooltip.group_tooltip_manager | ||
msgid "Tooltip Manager" | ||
msgstr "Gestionnaire des infobulles" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_res_users__tooltip_show_add_helper_allowed | ||
msgid "Tooltip Show Add Helper Allowed" | ||
msgstr "" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model.fields,field_description:web_field_tooltip.field_ir_model_fields_tooltip__tooltip_text | ||
msgid "Tooltip Text" | ||
msgstr "Texte de l'Infobulle" | ||
|
||
#. module: web_field_tooltip | ||
#: model:ir.model,name:web_field_tooltip.model_res_users | ||
msgid "User" | ||
msgstr "" | ||
|
||
#, python-format | ||
#~ msgid "Add a Tooltip" | ||
#~ msgstr "Ajouter une infobulle" | ||
|
||
#, python-format | ||
#~ msgid "Edit a Tooltip" | ||
#~ msgstr "Modifier une infobulle" | ||
|
||
#, python-format | ||
#~ msgid "Edit the tooltip" | ||
#~ msgstr "Modifier l'infobulle" | ||
|
||
#, python-format | ||
#~ msgid "Last Updated by: " | ||
#~ msgstr "Dernière mise à jour par " | ||
|
||
#, python-format | ||
#~ msgid "Manage Tooltips" | ||
#~ msgstr "Gérer les Infobulles" | ||
|
||
#~ msgid "Users" | ||
#~ msgstr "Utilisateurs" |
Oops, something went wrong.