[ADD] project: task dependencies

task-4413833

closes odoo/documentation#11671

X-original-commit: a8959a121a
Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com>
Signed-off-by: Guillaume Gallant (guga) <guga@odoo.com>
This commit is contained in:
guillaume gallant (guga) 2024-12-31 09:03:16 +00:00
parent 84451d1bf7
commit 851a828fd4
3 changed files with 45 additions and 0 deletions

View File

@ -11,3 +11,4 @@ Task management
tasks/task_creation
tasks/recurring_tasks
tasks/sub-tasks
tasks/task_dependencies

View File

@ -0,0 +1,44 @@
=================
Task dependencies
=================
Odoo Project allows you to break down projects into tasks and establish relationships between those
tasks to determine the order in which they are executed. Task dependencies ensure that certain tasks
begin only after the preceding tasks are completed.
To enable task dependencies in projects, go to :menuselection:`Project --> Configuration -->
Settings`, enable :guilabel:`Task Dependencies`, and click :guilabel:`Save`.
Set task dependencies
=====================
Task dependencies can be created from the task form or the project's Gantt view by linking the
successor task (i.e., the task blocked by other tasks) to its predecessor task(s) (i.e., the tasks
blocking the successor task).
To create task dependencies from the task form, access the desired task and, in the
:guilabel:`Blocked by` tab, click :guilabel:`Add a line`. Click :guilabel:`View` to access the
predecessor task. To access the successor tasks from the predecessor task, click the
:guilabel:`Blocked Tasks` smart button.
To create a task dependency from the Gantt view, hover your mouse over the predecessor task, then
click one of the dots that appear around it. Drag and drop the dot onto the successor task. An arrow
appears, indicating the dependency from the predecessor task to the successor.
.. image:: task_dependencies/task-dependency.png
:scale: 80%
:alt: Task dependency
Odoo automatically manages task progress based on their dependency. Successor tasks are assigned the
:guilabel:`Waiting` status and cannot be moved to :guilabel:`In Progress` until their predecessor
task(s) are marked as :guilabel:`Approved`, :guilabel:`Cancelled`, or :guilabel:`Done`.
Remove dependencies
===================
To remove a task dependency, proceed as follows:
- From the task form, go to the **Blocked by** tab and click the :icon:`fa-times`
(:guilabel:`times`) button.
- From the Gantt view, click the red :icon:`fa-times` (:guilabel:`times`) button that appears at the
center of the arrow when you hover your mouse over it.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB