Skip to Content
Menu
This question has been flagged
1 Atsakyti
4935 Rodiniai

how to loop many2many values in kanban view?

Portretas
Atmesti
Best Answer

Hi,

Please see the solutions suggested for the question: https://www.odoo.com/forum/help-1/question/how-to-access-one2many-fields-values-on-kanban-view-odoo-0-8-107207

You can try something similar to,

<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"/>
</t>

Thanks

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
lapkr. 22
8246
3
gruod. 23
21546
0
rugp. 18
5491
2
geg. 18
4031
2
liep. 25
4259