OdooWiki OCA HUB

Sequential Code for Tasks

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

This module adds a sequential code for tasks.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds an automatic sequential number (like T0001) to every project task, shown before the task title. Each project can choose to display the number with the title or the number alone.

This module gives every task a unique task number generated automatically from a sequence (prefix "T" and four digits, e.g. T0001). The number is read-only and cannot be edited by users, and it must be unique per company.

On each project, a new setting lets you decide how tasks are identified: - "Number and Title": the task is shown as [T0001] Task title. - "Number only": only the number is shown; the title is kept but hidden and no longer required.

Where it appears: - Project form, in the settings section, as a radio choice. - Task form: the number appears before the title; the title field is hidden and not required when the project uses "Number only". - Task list and kanban views: the number is displayed before the task name. - Task search: searching by text also matches the task number.

When the module is installed, all existing tasks are numbered automatically in order of creation. New tasks get their number when they are created. Duplicate numbers within the same company are blocked by a database rule.

Depends on

project
Models and fields (2)
  • project.task · extends an existing modelcode (Task Number), name, task_name_display
  • project.project · extends an existing modeltask_name_display

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: 8 confirmed, 1 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

To choose how the tasks of a project are identified, you must:

  • Go to Project \> Configuration \> Projects and open a project.
  • In the Settings tab, set "Task Name Display" to:
  • "Number and Title" (default) to show the task number followed by its title.
  • "Number only" to show the task number alone. Titles are still stored (so, for instance, tasks created from an incoming email keep the mail subject) but they are neither displayed nor required.

To change the task code sequence, you must:

  • Activate the developer mode.
  • Go to Settings \> Technical \> Sequences & Identifiers \> Sequences.
  • Click on "Task code" sequence to edit.

To use this module, you need to:

  • Go to menu Project \> Search \> Tasks and create a new task, and you

get a new code saving it. #. If you duplicate a task, you will get a new code for the new task.

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.