Show images in tree views via tooltip

Technical Name:
web_tree_image_tooltip
License:
Author:
Therp BV, Serpent Consulting Services Pvt. Ltd., MONK Software
https://odoo-community.org/web/image/product.template/4836/image_1920?unique=b657411
  • Odoo Version

Terms and Conditions 

Show images in tree views via tooltip

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

This module defines a images and icons in tree view via Tooltip. Additionally, Default width with 30px.

https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image.png

Table of contents

Configuration

Insert widget='image' in your field view definition in any image field

<field name="image_field" widget="image"/>

If the model has different fields of the same image with different size (as product.product for instance with image, image_medium, image_small), you can write the following code to reduce the load duration of the tree view.

<field name="image_small" widget="image" options="{'tooltip_image': 'image'}"/>

Usage

Mouse Hover in tree view image that time Tooltip effect.

https://raw.githubusercontent.com/OCA/web/12.0/web_tree_image_tooltip/static/description/tree_view_image_tooltip.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Therp BV
  • MONK Software
  • Serpent Consulting Services Pvt. Ltd.

Contributors

Other credits

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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 project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products