From 68a35753c6d0bde5883899c04be81f39f834e3de Mon Sep 17 00:00:00 2001 From: Jorge Pinna Puissant Date: Wed, 4 Jan 2023 07:33:10 +0000 Subject: [PATCH] [IMP] * : kanban, unify dropdown definition in archs This commit add the documentation for the new 'kanban-menu' template (the ellipsis dropdown menu). No that, this commit add also the documentation for the 'kanban-tooltip' template. closes odoo/documentation#3284 Task-id: 3096776 Related: odoo/odoo#107589 Related: odoo/enterprise#34962 Signed-off-by: Antoine Vandevenne (anv) --- content/developer/reference/backend/views.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/developer/reference/backend/views.rst b/content/developer/reference/backend/views.rst index 724acae51..fc566f36f 100644 --- a/content/developer/reference/backend/views.rst +++ b/content/developer/reference/backend/views.rst @@ -1748,6 +1748,11 @@ Possible children of the view element are: least one root template ``kanban-box``, which will be rendered once for each record. + Two additional templates can be defined: ``kanban-menu`` and ``kanban-tooltip``. + If defined, the ``kanban-menu`` template is rendered inside a dropdown that can be + toggled with a vertical ellipsis (:guilabel:`⋮`) on the top right of the card. + The ``kanban-tooltip`` template is rendered inside a tooltip when hovering kanban cards. + The kanban view uses mostly-standard :ref:`javascript qweb ` and provides the following context variables: