OdooWiki OCA HUB

Project Required Field By Stage

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

This module was written to extend the functionality of project task to require certain fields to be filled out based on the stage of the task.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you mark certain task fields as mandatory for specific project stages, so a task cannot be moved into a stage until those fields are filled in.

This module extends project tasks so that each stage can have its own list of mandatory fields. On the stage configuration screen (the form used to edit task stages), a new field lets you pick which task fields must be filled before a task can be in that stage.

When a user opens a task form, any field required by the task's current stage is automatically shown as required. If a user tries to move a task into a stage without filling those fields, Odoo blocks the change and shows an error naming the missing field and the stage.

  • Configure mandatory fields per stage on project.task.type.
  • Required fields are enforced when the stage changes on project.task.
  • Empty values are detected for text, numbers, dates, selections, booleans and relational fields.
  • The task form view is adjusted dynamically so required fields are highlighted.

It only touches the Project app: task stages and tasks. No new menus or reports are added.

Depends on

project
Models and fields (2)
  • project.task · extends an existing model
  • project.task.type · extends an existing modelrequired_field_ids

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

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Go to Project \> Configuration \> Task Stages.
  • Select a stage.
  • You will see the new field called required fields.
  • Add the fields that you want to be required when the task is in this stage.
  • Save the stage.
  • Now, when a task is in this stage, the selected fields will be required.

No verified information in OCA: Installation, Configuration.

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.