how to loop many2many values in kanban view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
5139
瀏覽次數
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
|
8508 | ||
|
3
12月 23
|
21756 | ||
|
0
8月 18
|
5758 | ||
|
2
5月 18
|
4207 | ||
|
2
7月 25
|
4994 |