Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5128 Lượt xem

how to loop many2many values in kanban view?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 22
8505
3
thg 12 23
21752
0
thg 8 18
5755
2
thg 5 18
4204
2
thg 7 25
4964