From 3d59d3d613c18b07b83caf58cf72b28084face1e Mon Sep 17 00:00:00 2001 From: Jerther Date: Fri, 19 May 2017 11:18:34 -0400 Subject: [PATCH] [DOC] doc: remove kanban_text_ellipsis description views.rst: replace the description of js function kanban_text_ellipsis() with a warning telling it's gone and what to use instead. --- doc/reference/views.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/reference/views.rst b/doc/reference/views.rst index bf4950e8f08..489c2cbfb09 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -934,11 +934,8 @@ Javascript API caching entirely :returns: an image URL - .. js:function:: kanban_text_ellipsis(string[, size=160]) - - clips text beyond the specified size and appends an ellipsis to it. Can - be used to display the initial part of potentially very long fields - (e.g. descriptions) without the risk of unwieldy cards + .. warning:: + ``kanban_text_ellipsis`` has been removed in Odoo 9. CSS ``text-overflow`` should be used instead. .. _reference/views/calendar: