Odoo Help


How to make kanban text ellipsis

Nikola Gjorgjievski
on 4/28/16, 4:35 AM 411 views

I want to make text ellipsis in kanban view.

Here is my code:

	<field name="logo_img"/>
	<field name="name"/>
	<field name="info"/>
		<t t-name="kanban-box">
			<div class="oe_kanban_global_click">
				<div class="o_kanban_image">
					<img t-att-src="kanban_image('product.manufacturer', 'logo_img', record.id.value)"/>
				<div class="oe_kanban_details">
						<field name="name"/>
						<t t-esc="kanban_text_ellipsis(record.info.value, 32)" />

But I get an error

TypeError: dict.kanban_text_ellipsis is not a function

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/28/16, 4:35 AM
Seen: 411 times
Last updated: 4/28/16, 7:36 AM