summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/views.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 015f12485ef..7b4973cbdbe 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -1318,7 +1318,7 @@ take the following attributes:
name of the field that describes if the task has to be excluded
from the consolidation
if set to true it displays a striped zone in the consolidation line
-``create``, ``edit``
+``create``, ``edit``, ``plan``
allows *dis*\ abling the corresponding action in the view by setting the
corresponding attribute to ``false``. If ``create`` is enabled, a "+" button
will be displayed while hovering each time slot to create a new record in
@@ -1392,6 +1392,10 @@ take the following attributes:
meta-information. The ``getColor`` method to convert in a color integer is
also available directly in the template context without using ``widget``.
+ ``on_create``
+ If specified when clicking the add button on the view, instead of opening a generic dialog, launch a client action.
+ this should hold the xmlid of the action (eg: ``on_create="%(my_module.my_wizard)d"``
+
.. _reference/views/diagram:
Diagram