Introduce a reason when a task is blocked
Project description
Project Task Block Reason
This module allows you to block tasks and provide a reason when a task is blocked.
The blocked reason will be displayed in the form, kanban and list view of the tasks.
Blocking (or unblocking) a task also blocks (or unblocks) their children tasks.
An example of the form view of a task:
Note: Odoo already has a task-blocking feature based on task dependencies that can coexist with the blocking feature provided by this module. On one hand, both blocking features share the same “waiting” state to mark a task as blocked. On the other hand, this module provides a manual task-blocking mechanism, while Odoo blocks tasks if they have unfinished dependencies. If you have this module installed and task dependencies enabled, a task may be blocked for either of these two reasons.
Table of contents
Usage
To use this module, you need to:
Go to the tasks in the Projects module
Open or create a new task.
Click on block and add a reason
Note: If you change the main state of a blocked task, the task gets automatically unblocked by Odoo.
Known issues / Roadmap
Since v18, the behaviour of this module is different.
The reason is that, in the base project module, the “kanban_state” field has been removed from the project.task model, and has been replaced with the “state” field, which does not longer contain the “blocked” value.
The old “blocked” state came along with some UI customization to warn the user of that state. The new “waiting” state of the new v18 field has been used to replace this UI behaviour, as it can express the same as the old blocked state.
A new button has been added to block tasks and assign that “waiting” state.
The module’s manual blocking mechanism currently operates in parallel with Odoo’s native Blocked by feature.
IMP: As a future improvement, it could be explored to better synchronize both mechanisms. For example, disabling or hiding the manual Block/Unblock actions when a task is already blocked by native dependencies, or automatically enabling/disabling the manual blocking state when blocking dependencies (depend_on_ids field) are added or removed.
This could be considered only if it can be implemented without introducing excessive complexity or altering the current lightweight behavior of the module.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Manuel Regidor
Ángel García de la Chica Herrera
Alberto Martínez
Valentín Vinagre
Harald Panten
Maintainers
This module is part of the sygel-technology/sy-project project on GitHub.
You are welcome to contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_project_task_block_reason-18.0.1.0.0.1-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_project_task_block_reason-18.0.1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 241.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3d2ce989453a28ca9c67ced6b0ab9028396843b85702300c2766b6e7fd99022
|
|
| MD5 |
6f615a54d5cb5cfe01bfbec5aa1965a4
|
|
| BLAKE2b-256 |
5c7305bf3c2d3f3960f863681017f0573ed1c7c6c2e529f63844cb92aa88d35e
|