summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJinal Patel <jip@odoo.com>2019-02-06 11:32:01 +0000
committerMohammed Shekha <msh@openerp.com>2019-06-18 09:28:23 +0000
commit756aa60ecfc14d16975d3c5d74f9952bfea8d4db (patch)
tree9e8fc5139a3a64a123f3f5513a8607f40105d932 /doc/reference
parent7bf0994e19565b7c157554bbfbf4d2ea90267832 (diff)
[IMP] web, project: improve examples background on kanban quick create column
This commit makes the use of the kanban more intuitive by changing the view's example background columns labels. kanbanExamplesRegistry will have object as a value instead of array, ghostColumns and examples will be the key where ghostColumns defines column titles for example background on column quick create and examples will be array of examples which will be displayed on click of See Examples link in quick create column If ghoseColumns are not defined then dynamically ghost columns will be generated with titles like Column 1, Column2... task- 1937198 closes odoo/odoo#30911 Signed-off-by: Jérome Maes (jem) <jem@openerp.com> Co-authored-by: Mohammed Shekha <msh@odoo.com>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 12c0615d9b7..999839da2d0 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1023,6 +1023,8 @@ attributes:
the list view)
``class``
adds HTML classes to the root HTML element of the Kanban view
+``examples``
+ if set to a key in the `KanbanExamplesRegistry`_, examples on column setups will be available in the grouped kanban view. `Here <https://github.com/odoo/odoo/blob/99821fdcf89aa66ac9561a972c6823135ebf65c0/addons/project/static/src/js/project_task_kanban_examples.js#L27>`_ is an example of how to define those setups.
``group_create``
whether the "Add a new column" bar is visible or not. Default: true.
``group_delete``
@@ -2095,3 +2097,4 @@ The main additions of qweb-as-view to the basic qweb-as-template are:
.. _kanban board: http://en.wikipedia.org/wiki/Kanban_board
.. _pivot table: http://en.wikipedia.org/wiki/Pivot_table
.. _XPath: http://en.wikipedia.org/wiki/XPath
+.. _KanbanExamplesRegistry: https://github.com/odoo/odoo/blob/99821fdcf89aa66ac9561a972c6823135ebf65c0/addons/web/static/src/js/views/kanban/kanban_examples_registry.js