Odoo Help


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.


How to make kanban text ellipsis

Nikola Gjorgjievski
on 4/28/16, 4:35 AM 226 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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