Project Task Stage Auto State
project_task_stage_auto_state · OCA/project
Health
73/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
Automatically change task state (done or canceled) after they remain in a stage for a configured number of days.
Key features:
- Configure auto-done days per stage with states that you want to apply.
- Configure auto-cancel days per stage with states that you want to apply.
- Automatic message posted in task chatter
- Daily scheduled action to process tasks
- Only open tasks are processed (closed states are ignored)
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
project_task_type_form_view_inherit |
project.task.type.form.inherit.auto.state | project.task.type | form | Inherits project.task_type_edit |
project_task_type_tree_view_inherit |
project.task.type.tree.inherit.auto.state | project.task.type | tree | Inherits project.task_type_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
auto_change_task_state_by_stage(self)Auto-change task states based on stage configuration. This method is called by a scheduled action (cron) to automatically change task states when they have been in a stage for the configured number of days. Auto-done is processed first, then auto-cancel. If both apply to the same task, auto-done takes precedence.
New fields (10)
-
allow_cancel_from_approvedBooleandefault=Falsestring='Allow Cancel from Approved' -
allow_cancel_from_changes_requestedBooleandefault=Falsestring='Allow Cancel from Changes Requested' -
allow_cancel_from_in_progressBooleandefault=Falsestring='Allow Cancel from In Progress' -
allow_cancel_from_waitingBooleandefault=Falsestring='Allow Cancel from Waiting' -
allow_done_from_approvedBooleandefault=Falsestring='Allow Done from Approved' -
allow_done_from_changes_requestedBooleandefault=Falsestring='Allow Done from Changes Requested' -
allow_done_from_in_progressBooleandefault=Falsestring='Allow Done from In Progress' -
allow_done_from_waitingBooleandefault=Falsestring='Allow Done from Waiting' -
auto_cancel_daysIntegerdefault=0help='Automatically cancel tasks after staying in this stage for the specified number of days. Set to 0 to disable this feature.'string='Auto-cancel after days' -
auto_done_daysIntegerdefault=0help='Automatically mark tasks as done after staying in this stage for the specified number of days. Set to 0 to disable this feature.'string='Auto-mark as done after days'
No public methods.
Loading…
Loading…