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

[18.0][MIG] web_field_tooltip: Migration to 18.0 #3054

Open
wants to merge 22 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0d5093c
[ADD] web_field_tooltip
baimont Jul 3, 2023
d41d29a
[IMP] web_field_tooltip - one rpc call
baimont Jul 7, 2023
74d6bec
[IMP] display a helper to add a tooltip on a field. Display the toolt…
benwillig Aug 1, 2023
e71d5cf
[REF] use FormViewDialog instead of do_action, allow to unlink a tool…
benwillig Aug 3, 2023
ef3b7a4
[UPD] Update web_field_tooltip.pot
Nov 20, 2023
0c2e89a
[BOT] post-merge updates
OCA-git-bot Nov 20, 2023
89ee203
[MIG] web_field_tooltip: Migration to 16.0
benwillig Mar 26, 2024
3017307
[UPD] Update web_field_tooltip.pot
Apr 15, 2024
4cd9375
Update translation files
weblate Apr 15, 2024
6345750
Added translation using Weblate (Italian)
mymage Apr 19, 2024
c99db97
Translated using Weblate (Italian)
mymage Apr 23, 2024
bb06ad0
Translated using Weblate (French)
glitchov May 15, 2024
16bb973
[FIX] web_field_tooltip: ir.model and ir.model.fields access if not a…
glitchov May 16, 2024
a66d3dc
[BOT] post-merge updates
OCA-git-bot May 18, 2024
15f211d
[IMP] web_field_tooltip: black, isort, prettier
manuelregidor Jul 24, 2024
3b81c79
[MIG]web_field_tooltip: Migration to 17.0
manuelregidor Jul 24, 2024
2bc4430
[IMP]web_field_tooltip: refactoring for v17
manuelregidor Jul 24, 2024
81bf959
[UPD] Update web_field_tooltip.pot
Jul 31, 2024
d7102f9
[BOT] post-merge updates
OCA-git-bot Jul 31, 2024
c4b6876
Update translation files
weblate Jul 31, 2024
0d59cb7
[IMP] web_field_tooltip: pre-commit stuff
BertVGroenendael Jan 9, 2025
3df6827
[18.0][MIG] web_field_tooltip: Migration to 18.0
BertVGroenendael Jan 9, 2025
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
110 changes: 110 additions & 0 deletions web_field_tooltip/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
=================
Web Field Tooltip
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c72ceca13e4bfaa4dbe9b11719dc65bbae95ee1e9eb4f9b84830bf8900e32a0c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/web-18-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=18.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.

**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 a 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:%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
-------

* ACSONE SA/NV

Contributors
------------

- `Acsone <https://www.acsone.eu/>`__:

- Benoit Aimont <[email protected]>

- `Sygel <https://sygel.es>`__:

- Manuel Regidor <[email protected]>
- Harald Panten <[email protected]>
- Valentín Vinagre <[email protected]>

- `Dynapps <https://www.dynapps.eu/>`__:

- Bert Van Groenendael <[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://github.com/OCA/web/tree/18.0/web_field_tooltip>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions web_field_tooltip/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
27 changes: 27 additions & 0 deletions web_field_tooltip/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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": "18.0.1.0.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/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",
],
},
}
186 changes: 186 additions & 0 deletions web_field_tooltip/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
# 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__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 ""

#~ msgid "Last Modified on"
#~ msgstr "Dernière modification le"

#, 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"
Loading
Loading