Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6688 มุมมอง

Hi All,


I have this code which I try to take project module as an example, to print the avator of my product_owner in kanban.

<div t-attf-class="oe_kanban_content">
<h3 class="text-center"><strong><field name="name"/></strong></h3>
<h4 class="text"><strong class="text">Product Owner</strong></h4>
<div class="oe_kanban_project_avatars">
<t t-foreach="[record.product_owner_id.raw_value]" t-as="member">
<img t-att-src="kanban_image('res.users', 'image_small', member)" t-att-data-member_id="member"/>
</t>
</div>



But my tooltip won't appear like, the project.

Any idea?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

To display a single avatar image.

<img t-att-src="kanban_image('res.users', 'image_small', record.product_owner_id.raw_value)" t-att-title="record.product_owner_id.value" width="24" height="24" class="oe_kanban_avatar"/>
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Tooltip for Kanban View? แก้ไขแล้ว
1
ธ.ค. 20
5932
1
ม.ค. 25
1717
0
ส.ค. 22
2583
3
ม.ค. 24
13547
0
เม.ย. 22
65