diff --git a/content/applications/services/project/tasks.rst b/content/applications/services/project/tasks.rst index 72e9226a7..3174cd924 100644 --- a/content/applications/services/project/tasks.rst +++ b/content/applications/services/project/tasks.rst @@ -11,3 +11,4 @@ Task management tasks/task_creation tasks/recurring_tasks tasks/sub-tasks + tasks/task_dependencies diff --git a/content/applications/services/project/tasks/task_dependencies.rst b/content/applications/services/project/tasks/task_dependencies.rst new file mode 100644 index 000000000..00b87589b --- /dev/null +++ b/content/applications/services/project/tasks/task_dependencies.rst @@ -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. diff --git a/content/applications/services/project/tasks/task_dependencies/task-dependency.png b/content/applications/services/project/tasks/task_dependencies/task-dependency.png new file mode 100644 index 000000000..ec7423500 Binary files /dev/null and b/content/applications/services/project/tasks/task_dependencies/task-dependency.png differ