I want to make text ellipsis in kanban view.
Here is my code:
<kanban>
<field name="logo_img"/>
<field name="name"/>
<field name="info"/>
<templates>
<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>
<div class="oe_kanban_details">
<strong>
<field name="name"/>
</strong>
<div>
<t t-esc="kanban_text_ellipsis(record.info.value, 32)" />
</div>
</div>
</div>
</t>
</templates>
</kanban>
But I get an error
TypeError: dict.kanban_text_ellipsis is not a function