[IMP] web_tree_image_tooltip :

* Add the possibility to define an alternative image field for the tooltip image to reduce the bandwidth used
* Add image in the description of the module
* Add demo data for the res.users tree view
This commit is contained in:
Sylvain LE GAL
2022-03-10 15:27:05 +01:00
committed by Christopher Ormaza
parent d257ce8585
commit da19285c58
9 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_users_tree" model="ir.ui.view">
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_tree" />
<field name="arch" type="xml">
<field name="name" position="before">
<field
name="image_small"
options="{'tooltip_image': 'image'}"
widget="image"
string="Image"
/>
</field>
</field>
</record>
</odoo>