Odoo Help


This community 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.


How to access one2many fields values on Kanban view odoo 0.8 ?

Mostafa Abd El Fattah
on 8/19/16, 8:08 AM 659 views

i need to loop over the records of o2m filed in kanban to show what i need from the other model.

all i need in kanban view to do this 

<t t-foreach="o2m_field" t-as"record">

     <t t-esc="record.name"/>


is that possible to do it. 

Ajeet Yadav
On 8/20/16, 12:57 AM

Below module will work for your requirement -


It is also available for version 9.

On 10/8/16, 5:49 AM

If it is an image 

rooms = fields.One2many('block.rooms', 'block_id')
<t t-foreach="record.rooms.raw_value" t-as="room">
    <img t-att-src="kanban_image('block.room', 'image_field_name', room)" t-att-data-member_id="room"/>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 8/19/16, 8:08 AM
Seen: 659 times
Last updated: 10/8/16, 5:49 AM