Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to get the mouse over tooltip working in kanban?

By
Gavin Yap
on 4/11/16, 11:51 PM 380 views

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?

0
Gavin Yap
On 4/12/16, 9:16 PM

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"/>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/11/16, 11:51 PM
Seen: 380 times
Last updated: 4/16/16, 7:28 AM