summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJerther <jerther@gmail.com>2017-05-19 11:18:34 -0400
committerged-odoo <ged@odoo.com>2017-05-19 17:18:34 +0200
commit3d59d3d613c18b07b83caf58cf72b28084face1e (patch)
treedd2f45c702a06eaa7f9a9f932c2b5cc98c3d1b05 /doc
parentd364dddfbbcd345fc00ac9f5581b83f9f4174521 (diff)
[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.
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/views.rst7
1 files 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: