OdooWiki OCA HUB

Add State field to Project Stages

project_task_stage_state folder_open OCA/project open_in_new
Project Management License: AGPL-3

This module associates a state to a stage, so that when the stage of a task is changed, the state is also changed.

When a closing state (done or canceled) is set on a stage, the open tasks that are already in that stage are closed with that state.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you attach a task status (such as In Progress, Done or Cancelled) to each project stage, so moving a task to that stage automatically changes its status. Setting a closing status on a stage also closes the open tasks already in it.

This module brings back a link between project stages and task statuses. On every stage (the columns of the Kanban board, managed in project.task.type) a new "Task State" field is available, offering the same statuses as tasks themselves.

Where it appears: - In the stage configuration form, right after the "Folded in Kanban" option. - In the list of stages, as an extra column.

Automatic behaviour: - When a task is moved to a stage that has a status, the task's status is updated to match it, provided it is different from the current one. - When you set a closing status (Done or Cancelled) on a stage, all tasks already in that stage that are not yet closed are closed with that status.

Business use: a team can make its board self-explanatory — dragging a task into "Done" or "Cancelled" marks it accordingly without opening the task, and cleaning up a stage closes the leftover open tasks in one go.

It touches the task model project.task and the stage model project.task.type. Demo data assigns statuses to the first three standard stages (In Progress, Done, Cancelled).

Depends on

project
Models and fields (2)
  • project.task · extends an existing modelstage_id
  • project.task.type · extends an existing modeltask_state

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

You can configure stages from Project -\> Configuration -\> Stages

To use this module, you need to:

  • Go to Project -\> Configuration -\> Stages and click on a stage
  • Select the state you would like to associate that stage with from the dropdown "State" menu
  • Save your changes
  • Go to Project -\> Dashboard and click on a project
  • Click on task in the stage you just edited
  • Task state has changed.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.