mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_tree_image v11
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
|
||||
:alt: License: AGPL-3
|
||||
|
||||
=====================================
|
||||
@@ -7,7 +7,7 @@ Display images and icons in tree view
|
||||
|
||||
This module defines a tree image widget, to be used with either binary fields
|
||||
or (function) fields of type character. Use ``widget='image'`` in your view
|
||||
definition. Optionally, set a ``height`` attribute. Default height is 16px.
|
||||
definition. Optionally, set a ``width`` attribute. Default width is 30px.
|
||||
|
||||
If you use the widget with a character field, the content of the field can be
|
||||
any of the following:
|
||||
@@ -24,8 +24,6 @@ any of the following:
|
||||
Usage
|
||||
=====
|
||||
|
||||
This module defines a new widget type for tree views columns.
|
||||
|
||||
Set the attribute ``widget=image`` in a ``field`` tag in a tree view.
|
||||
You can also set ``height=<height>`` to set the height the image will have.
|
||||
Note that this just sets the CSS ``max-height`` attribute,
|
||||
@@ -43,6 +41,7 @@ Contributors
|
||||
* Leonardo Donelli <donelli@webmonks.it>
|
||||
* Jay Vora <jay.vora@serpentcs.com>
|
||||
* Meet Dholakia <m.dholakia.serpentcs@gmail.com>
|
||||
* Nikul Chaudhary <nikul.chaudhary.serpentcs@gmail.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
@@ -52,3 +51,9 @@ Maintainer
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
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.
|
||||
|
||||
To contribute to this module, please visit https://odoo-community.org.
|
||||
|
||||
Reference in New Issue
Block a user