summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxLarue <mla@odoo.com>2019-05-20 09:38:55 +0000
committerMaxLarue <mla@odoo.com>2019-06-03 19:39:42 +0000
commit9c5dde8c538adebb13da381e73332b32ffc8e262 (patch)
tree7c38edae5b5b21e327f2618627ac46224eb9563f /doc
parenta17363eb47415e297864b9502275ea22c56b25cc (diff)
[IMP] base,doc: add on_create and edit attribute on gantt view
related task #1929079 closes odoo/odoo#33872 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
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