Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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_approved Boolean
    default=False string='Allow Cancel from Approved'
  • allow_cancel_from_changes_requested Boolean
    default=False string='Allow Cancel from Changes Requested'
  • allow_cancel_from_in_progress Boolean
    default=False string='Allow Cancel from In Progress'
  • allow_cancel_from_waiting Boolean
    default=False string='Allow Cancel from Waiting'
  • allow_done_from_approved Boolean
    default=False string='Allow Done from Approved'
  • allow_done_from_changes_requested Boolean
    default=False string='Allow Done from Changes Requested'
  • allow_done_from_in_progress Boolean
    default=False string='Allow Done from In Progress'
  • allow_done_from_waiting Boolean
    default=False string='Allow Done from Waiting'
  • auto_cancel_days Integer
    default=0 help='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_days Integer
    default=0 help='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'
Public methods (0)

No public methods.

Loading…

Loading…