Skip to content

Find projects and tasks

How to find the project and task IDs you book on.

Search projects

--search keeps projects whose name or customer contains the text, ignoring case. Odoo does the matching, so this is fast also on large databases:

odoo-work-cli projects --search portal
odoo-work-cli projects --search "example harbor"
odoo-work-cli projects                    # all projects
$ odoo-work-cli projects
ID     Name                           Customer             Company         Phase           Project Manager      Active
------ ------------------------------ -------------------- --------------- --------------- -------------------- ------
1      Lighthouse Portal              Example Harbor Ltd   Example Consulting In Progress     Alex Demo            true
2      Orchard Mobile App             Example Orchard Inc  Example Consulting In Progress     Alex Demo            true
3      Internal                                            Example Consulting In Progress     Alex Demo            true
4      Riverbank Data Migration       Example River Co     Wildflower Labs In Progress     Alex Demo            true

List the tasks of a project

odoo-work-cli tasks 1
odoo-work-cli tasks 1 --search review     # task name contains "review"
odoo-work-cli tasks --search review       # in all projects
$ odoo-work-cli tasks 1
ID       Name                                     Project                        Stage
-------- ---------------------------------------- ------------------------------ --------------------
11       Backend API                              Lighthouse Portal              In Progress
12       Frontend                                 Lighthouse Portal              In Progress
13       Code review                              Lighthouse Portal              In Progress

No match prints a message, or [] with --json.

Narrow down what you see by default

Configured filters apply to every projects and tasks call, for example only the projects of your company. See [models.*] in the configuration. --search is combined with them (AND).

In the TUI

Press / in the grid; see the TUI tour.