OdooWiki OCA HUB

Project: require Project on Task

project_task_project_required folder_open OCA/project open_in_new
Uncategorised License: AGPL-3

This module allows to configure task as having project as a mandatory field.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

This module makes the Project field mandatory on tasks, so users cannot save a task without choosing a project. The requirement can be turned on or off per company in Project settings.

This module adds a company-level setting that decides whether every task must belong to a project. When the setting is enabled, the Project field on a task becomes required and Odoo blocks saving a task without a project with the message "You must specify a project for the task."

Where it appears: - In Project settings, under the Tasks Management section, there is a new checkbox "Require Projects on Tasks" with the note "Require project selection on each task by default". The setting is company-specific. - On the task form, task list and the quick-create task form, the Project field is shown as required when the setting is on. In the quick-create form the Project field is hidden when the setting is off.

Business rules and automatic behaviour: - The requirement is controlled by the company of the task, so different companies can have different rules. - A validation check runs whenever the Project field changes and raises an error if the task has no project while the requirement is active. - The setting is enabled by default for new companies.

Areas touched: tasks (project.task), companies (res.company) and the general settings screen (res.config.settings).

Depends on

project
Models and fields (3)
  • res.company · extends an existing modelis_project_task_project_required (Require Projects on Tasks)
  • project.task · extends an existing modelis_project_required (Is Project Required)
  • res.config.settings · extends an existing modelis_project_task_project_required (Require Projects on Tasks)

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

By installing this module, the project field will be mandatory for all the companies.

To make project selection optional on task for a given company:

Go to Project > Configuration > Settings Uncheck Require Projects on Tasks

No verified information in OCA: Installation, Usage.

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.