TIP: You can type at any time to perform a new search.
Project Task Stage Auto State
project_task_stage_auto_state · OCA/project
- Repository
- OCA/project · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Productivity/Project
- Folder size
- 0.08 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/project
- Last tracking update
- 2026-08-07 09:06:22
- Authors
- Odoo Community Association (OCA), Moduon
- Maintainers
- Odoo Community Association (OCA), Moduon
- Committers
- Weblate, Eduardo de Miguel, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- freezegun
- System dependencies
- None
- Required by
- None
- 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)
Code Analysis ⓘ
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…