From ee52601986caedb88f60f7d7398d228b744ad84e Mon Sep 17 00:00:00 2001 From: Laurent Stukkens Date: Thu, 3 Feb 2022 14:28:58 +0000 Subject: [PATCH] [ADD] developper: add gantt dependency fields task-2691454 closes odoo/documentation#1529 Signed-off-by: Victor Feyens (vfe) --- content/developer/reference/backend/views.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/developer/reference/backend/views.rst b/content/developer/reference/backend/views.rst index 1cf96d0ce..258b714a0 100644 --- a/content/developer/reference/backend/views.rst +++ b/content/developer/reference/backend/views.rst @@ -971,6 +971,15 @@ take the following attributes: ``date_stop`` (required) name of the field providing the end duration of the event for each record. +``dependency_field`` + name of the ``many2many`` field that provides the dependency relation between two records. + If B depends on A, ``dependency_field`` is the field that allows getting A + from B. Both this field and ``dependency_inverted_field`` field are used to + draw dependency arrows between pills and reschedule them. +``dependency_inverted_field`` (required if ``dependency_field`` is provided) + name of the ``many2many`` field that provides the invert dependency relation than + ``dependency_field``. If B depends on A, ``dependency_inverted_field`` is + the field that allows getting B from A. ``color`` name of the field used to color the pills according to its value ``decoration-{$name}``