Skip to content

Commit

Permalink
[NEW] Project: Create a new page about task dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume gallant (guga) committed Dec 12, 2024
1 parent 380cdb7 commit be575b1
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/applications/services/project/tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Task management
tasks/task_creation
tasks/recurring_tasks
tasks/sub-tasks
tasks/task_dependencies
51 changes: 51 additions & 0 deletions content/applications/services/project/tasks/task_dependencies.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
=================
Task dependencies
=================

Odoo Project allows you to split your projects into tasks and assign priorities among them. The
relationships established between tasks ensure that specific tasks cannot start until others are
completed.

Configuration
=============

To enable task dependencies in Projects, go to :menuselection:`Project --> Configuration -->
Settings`, enable :guilabel:`Task Dependencies`, and Click the :icon:`fa-cloud-upload`
(:guilabel:`save`) icon.

Set task dependencies
=====================

- In a project, open a task.
- Click the :guilabel:`Blocked by` tab.
- Click :guilabel:`Add a line`, and check the box for the tasks that need to be completed before
this task can start.

.. note::
- **Predecessor**: The task that is blocking another task.
- **Successor**: The task that is blocked by another task.

Odoo automatically manages task progress based on their dependency: the status of a successor cannot
be changed to **In Progress** until its predecessor status is marked as **Approved**, **Cancelled**,
or **Done**. The predecessor displays a **Blocked Tasks** Smart Button and the status of a successor
is set to **Waiting**.

Task dependencies in gantt view
===============================

The Gantt view allows you to visualize how tasks are related on a timeline grid. To enter Gantt
view, go to your project and click the :icon:`fa-tasks` (:guilabel:`gantt view`) icon at the top
right of the screen.

Create a dependency in gantt view by hovering your mouse over a task. Click and drag one of the dots
that appear, then drop it onto another task. The task at the start of the arrow is the predecessor
and the one at the end of the arrow is the successor.

.. image:: task_dependencies/task-dependency.png
:alt: Task dependency

Remove dependencies
===================
- From the task form: go to the **Blocked by** tab and click the :icon:`fa-times` button.
- From Gantt view: click the red :guilabel:`X` button that appears at the center of the arrow when
you hover your mouse over it.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be575b1

Please sign in to comment.