Odoo Help

0

how to display images in a treeview

By
meriem HAKKANI
on 6/1/16, 4:17 AM 531 views

 <record id="view_product_image_tree" model="ir.ui.view">

        <field name="name">product.images.tree</field>

        <field name="model">product.images</field>

        <field name="arch" type="xml">

        <tree string="Product Images">

                <field name="name"/>

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

                <field name="comments"/>

        </tree>

    </field>

</record>

2

Jusab Sida (jsi)

--Jusab Sida (jsi)--
Tiny ERP Pvt Ltd
http://www.odoo.com
906
| 2 2 5
Gandhinagar, India
--Jusab Sida (jsi)--


Jusab Sida (jsi)
On 6/1/16, 7:20 AM

 There is a module web_tree_image by OCA,

after installing this module, you need to add widget="image", like

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


0
Shameem
On 3/29/17, 4:38 AM

Watch on YouTube how to implement web_tree_image for 10th Version.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/1/16, 4:17 AM
Seen: 531 times
Last updated: 3/29/17, 4:38 AM