OdooWiki OCA HUB

Project Task Required Project

project_task_required_project folder_open OCA/project open_in_new
Project License: AGPL-3

This module makes it mandatory to select a project when editing or creating a task.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds a company-level setting that makes the project mandatory on tasks. When enabled, Odoo blocks saving a task without a project and shows an error message.

This module adds an option to the Project settings screen called "Project required on tasks". The setting is stored per company, so each company can decide independently whether tasks must always belong to a project.

When the option is switched on, Odoo checks every task whenever its project is set or changed. If a task has no project, saving is stopped and the user sees the message "A project has not been selected for the task." This applies both when creating a new task and when editing an existing one.

Where it appears: - Project settings screen, next to the existing project configuration options, with a checkbox and a short explanation.

What it changes: - A new company setting controls the behaviour. - A validation rule on tasks enforces the requirement.

It touches the task model project.task, the company model res.company and the settings model res.config.settings. No new menus, reports or scheduled actions are added.

Depends on

project
Models and fields (3)
  • res.company · extends an existing modelis_project_required (Project required on tasks)
  • project.task · extends an existing model
  • res.config.settings · extends an existing modelis_project_required (Project required on tasks)

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

terminal Installation and usage

OCA documentation · Odoo 15.0

To configure this module, you need to:

  • Go to Settings -> Project.
  • In the 'Tasks Management' section activate the 'Project Required' option and save the changes.

To use this module, you need to:

  • Go to Project module.
  • Go to Tasks.
  • Edit or create a new Task.
  • If you not select a project, an error message will be displayed.

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.