Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5089 Prikazi

how to loop many2many values in kanban view?

Avatar
Opusti
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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
nov. 22
8445
3
dec. 23
21703
0
avg. 18
5700
2
maj 18
4161
2
jul. 25
4826