Odoo 19.0 Community · Persistent

project.task.type: fields, relations and API

The project.task.type model ("Task Stage") is a persistent model declared by the Project module, then extended by 2 other modules. It exposes 23 fields, 17 of them declared directly on the model; 9 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.

Model identity

Technical name
project.task.type
Label
Task Stage
Type
Persistent (models.Model)
SQL table
project_task_type
Origin module
Project (project)
Extended by
sale_project, project_sms
Default order (_order)
sequence, id

Model fields

17 own fields, 0 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

23 of 23 fields shown

Technical nameLabelTypeDetails
activeActiveboolean
auto_validation_stateAutomatic Kanban Status

Automatically modify the state when the customer replies to the feedback for this stage. * Good feedback from the customer will update the state to 'Approved' (green bullet). * Neutral or bad feedback will set the kanban state to 'Changes Requested' (orange bullet).

boolean
colorColorinteger
foldFoldedboolean
mail_template_idEmail Template

If set, an email will be automatically sent to the customer when the task reaches this stage.

many2one
nameNamechar
requiredtranslatable
project_idsProjects

Projects in which this stage is present. If you follow a similar workflow in several projects, you can share this stage among them and get consolidated information this way.

many2many
rating_activeSend a customer rating requestboolean
rating_request_deadlineRating Request Deadlinedatetime
computed, stored
rating_statusCustomer Ratings Status

Collect feedback from your customers by sending them a rating request when a task enters a certain stage. To do so, define a rating email template on the stage. Rating when changing stage: an email will be automatically sent when a task reaches the stage. Periodic rating: an email will be automatically sent at regular intervals as long as the task remains in the stage.

selection
required

Values: stage (when reaching this stage), periodic (on a periodic basis)

rating_status_periodRating Frequencyselection
required

Values: daily (Daily), weekly (Weekly), bimonthly (Twice a Month), monthly (Once a Month), quarterly (Quarterly), yearly (Yearly)

rating_template_idRating Email Template

If set, a rating request will automatically be sent by email to the customer when the task reaches this stage. Alternatively, it will be sent at a regular interval as long as the task remains in this stage.

many2one
rotting_threshold_daysDays to rot

Day count before tasks in this stage become stale. Set to 0 to disable Changing this parameter will not affect the rotting status/date of resources last updated before this change.

integer
sequenceSequenceinteger
show_rating_activeShow Rating Activeboolean
computed

added by Sales - Project (sale_project)

sms_template_idSMS Template

If set, an SMS Text Message will be automatically sent to the customer when the task reaches this stage.

many2one

added by Project - SMS (project_sms)

user_idStage Ownermany2one
computed, stored
create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 19 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/project.task.type/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","rating_status","rating_status_period","mail_template_id","rating_template_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/project.task.type/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","rating_status","rating_status_period","mail_template_id","rating_template_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/project-task-type">project.task.type (Odoo 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.