43 lines
2.0 KiB
Markdown
43 lines
2.0 KiB
Markdown
# 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
|
|
:alt: Task dependency
|
|
:scale: 80%
|
|
```
|
|
|
|
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.
|
|
|