
Call it OPS-042, not "the one about the invoice".
Odoo tasks only have a title and a database id, and nobody quotes either in a standup. This module gives every task a short number when it is created. Projects can have their own code, so the tasks of Operations become OPS-001, OPS-002 and so on, and your customers see the same number in their portal.
Written and supported by Modvanta - modvantaapps@gmail.com
What you get
A number on every taskNew tasks get the next value of a normal Odoo sequence, TASK-0001 out of the box. Change the prefix, padding, step or add the year whenever you like. |
A series per projectType OPS as the task code of a project and its tasks are numbered OPS-001, OPS-002. Projects without a code keep using the general number. |
Find it in one goType the number in the box in the top bar and press Enter. One match opens the task, several open a list. The search bar finds tasks by number too. |
Screens from a test database
Every screenshot was taken on Odoo 19 with the standard demo projects.
The number sits on top of each card
The Office Design project has the code OFF, so its cards read OFF-005, OFF-007 and so on. Drag cards between stages as usual: the number stays with the task.

A Number column in the list
The column can be hidden from the optional columns menu, like any other. Sorting and grouping work as you would expect.

On the form, the breadcrumb and the chatter
The number appears above the title. It is also put in front of the task name, so breadcrumbs, links to the task, chatter messages and the subject of task emails all carry [OFF-004]. You can switch that part off in the settings if you prefer plain titles.

Open a task by number from any screen
The box in the top bar is there for project users wherever they are in Odoo. Type a full number to open that task straight away.

Part of a number lists the matches
Typing BLD opened the four tasks of the Renovations project. The search runs with the user's own access rights, so nobody finds a task they cannot already open.

Search by number in the search bar
The normal task search looks at the number as well as the title, and there is a separate Task Number search option.

Set the task code on the project
Up to 10 capital letters, digits or underscores. Two projects cannot share a code. Rename the code later and new tasks follow the new prefix.

Renumber existing tasks once
After you set up codes, renumber all tasks, one project, the tasks you select in a list, or only the ones without a number. Tick Restart at 1 for a clean series. Only project managers can do this.

Customers see the same number
In the customer portal the bare #id is replaced by the task number, on the task list and on the task page. Your customer writes BLD-003 in an email and you know which task they mean.

How it works
1 InstallTasks you already have are numbered at install, oldest first, from the general sequence. |
2 Add codesGive the projects that need it a task code, then renumber those projects once. |
3 WorkNew tasks are numbered as they are created, also when a customer creates one through project sharing. |
Settings
Project -> Configuration -> Settings -> Task Numbers
| Task Number Sequence - opens the general sequence (administrators): prefix, suffix, padding, step, year or month in the number. | |
| Project Task Codes - on by default. Off means every task uses the general number, codes or not. | |
| Task Number in Task Name - on by default. Puts [TASK-0042] in front of the name in breadcrumbs, links, chatter and email subjects. | |
| Renumber Tasks - the same renumber dialog, for all tasks. |


Questions
What happens when a task moves to another project?
It keeps its number. Numbers are meant to be quoted in emails, so they do not change behind your back. If you want it renumbered, select it and use Renumber.
Can two tasks end up with the same number?
No. The database refuses duplicates. If someone resets a sequence by hand to a value already used, the module skips the numbers that are taken.
Do sub-tasks get numbers?
Yes, from the series of their project, like any other task.
Who can change numbers?
Project managers can renumber. Only administrators can edit the sequences. Project users and portal users can only read the numbers.
Does it work on Odoo Online?
No, Odoo Online does not allow custom modules. It works on Odoo.sh and on your own server, Community or Enterprise.
Compatibility
Odoo 19.0CommunityEnterpriseOdoo.shOn premiseDepends only on the Project app. 31 automated tests, including access rights, multi-company and customer portal checks.
Give your tasks a name people can say
Questions before you buy? Write to us and we will answer.
Buy Now - $6Ask a Question| EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED Source code + email support |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module