Skip to main content
Odoo Community Association

Project Task Stage Auto State

Alpha License: LGPL-3 OCA/project Translate me on Weblate Try me on Runboat

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)

Table of contents

Use Cases / Context

This module is useful in workflows where tasks need to be automatically closed after a certain period of time in a stage.

Common use cases:

  • Auto-done: Approval workflows where silence means consent after N days

  • Auto-done: Service level agreements (SLA) with automatic closure when completed

  • Auto-cancel: Timeout periods where tasks expire if no action is taken

  • Auto-cancel: Cleaning up stale tasks in waiting or review stages

Usage

To use this module, you need to:

  1. Enter debug mode

  2. Go to Project > Configuration > Task Stages

  3. Select or create a stage

  4. Configure the automatic actions:

    • Set “Auto-mark as done after days” to the desired number of days (0 to disable)

    • Activate shown boolean fields for states that you want to do something

    • Set “Auto-cancel after days” to the desired number of days (0 to disable)

    • Activate shown boolean fields for states that you want to do something

  5. Verify that the scheduled action “Project: Auto-change task state by stage” is active in Settings > Technical > Automation > Scheduled Actions

  6. When a task is auto-changed, a message is posted in the chatter indicating the automatic action

Notes:

  • The counter starts from the “Last Stage Update” date, which is updated each time a task changes stage

  • If both auto-done and auto-cancel are configured for the same stage and both thresholds are reached, auto-done takes precedence

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

Authors

  • Moduon

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

Shide rafaelbn

This module is part of the OCA/project project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-project-task-stage-auto-state 19.0.1.0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-project-task-stage-auto-state 19.0.1.0.1.2
File Interpreter ABI Platform
odoo_addon_project_task_stage_auto_state-19.0.1.0.1.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_project_task_stage_auto_state-19.0.1.0.1.2-py3-none-any.whl

Download URL odoo_addon_project_task_stage_auto_state-19.0.1.0.1.2-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1311668308fca74d9ba757f159a9eb6e13fad8143bfcf64ab2730e3bf8afb4e5
BLAKE2b-256 checksum
How to use checksums
31b0d5cbc0532999ee1acff3bae5b85b95a047b9a633638ead3e728cc52c5617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

19.0.1.0.1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page