Skip to Content
Menu

28.53

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 70
Technical Name icon_tags
LicenseOPL-1
Websitehttp://www.dphi.be
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 70
Technical Name icon_tags
LicenseOPL-1
Websitehttp://www.dphi.be
Versions 16.0 17.0 18.0

Reusable Icon Field – Add pictograms to all your Odoo models

This module lets you easily add an Icons field to any Odoo model.
Icons can be images, CSS pictograms (Font Awesome), or plain text.
Display priority: ImageCSS IconText

How it works

  • Add the icon.mixin inheritance to any Odoo model
  • Insert the icon_ids field in your view using the HTML tags widget
  • Manage your icons from a dedicated menu: image, name, CSS class
  • Each tag shows the image if present, otherwise the CSS icon, otherwise the text

How to use?

  1. In your Python model:
    class MyObject(models.Model):
        _inherit = ['your.model', 'icon.mixin']
  2. In your XML view:
    
          <field string="Select Icons" name="icon_ids" widget="many2many_tags" />
                                <field name="display_icons" widget="html"/>
          
          
  3. Create or edit your icons in the Settings > Icons menu

Module benefits

  • Save time on all your Odoo developments: plug & play
  • Enhanced user experience with a consistent visual display
  • Centralized icon management: images, CSS or text
  • Perfect for colored tags, statuses, graphical labels, pictograms, and more

Access & Security

Access rights are set for all users.
(You can edit ir.model.access.csv if needed.)

Compatibility

  • Odoo 16

Champ Icônes Réutilisable – Ajoutez des pictogrammes à tous vos modèles Odoo

Ce module vous permet d’ajouter simplement un champ Icônes à n’importe quel modèle Odoo.
Les icônes peuvent être des images, des pictogrammes CSS (Font Awesome), ou du texte.
Priorité d’affichage : ImageIcône CSSTexte

Fonctionnement

  • Ajoutez l’héritage icon.mixin à n’importe quel modèle Odoo
  • Insérez le champ icon_ids dans votre vue avec le widget tags HTML
  • Administrez vos icônes via un menu dédié : image, nom, classe CSS
  • Chaque tag affiche l’image si présente, sinon l’icône CSS, sinon le texte

Comment l’utiliser ?

  1. Dans votre modèle Python :
    class MonObjet(models.Model):
        _inherit = ['votre.modele', 'icon.mixin']
  2. Dans votre vue XML :
    
          <field string="Select Icons" name="icon_ids" widget="many2many_tags" />
                                <field name="display_icons" widget="html"/>
          
          
  3. Créez ou modifiez vos icônes dans le menu Paramètres > Icons

Intérêt du module

  • Gain de temps sur tous vos développements Odoo : plug & play
  • Expérience utilisateur enrichie avec un affichage visuel cohérent
  • Centralisation de la gestion des icônes : images, CSS ou texte
  • Idéal pour les tags colorés, statuts, labels graphiques, pictogrammes…

Accès et sécurité

Les droits sont configurés pour tous les utilisateurs.
(Modifiez ir.model.access.csv si besoin.)

Compatibilité

  • Odoo 16
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.