콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4944 화면

how to loop many2many values in kanban view?

아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
2
11월 22
8251
3
12월 23
21554
0
8월 18
5500
2
5월 18
4034
2
7월 25
4265