Repository
OCA/project · module folder · Try on Runboat
Module version
1.0.0
Category
Project
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/project
Last tracking update
2026-08-07 09:06:22
Authors
Odoo Community Association (OCA), Onestein, ADHOC SA, Tecnativa
Maintainers
Odoo Community Association (OCA), Onestein, ADHOC SA, Tecnativa
Committers
Weblate, Ruchir Shukla, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds the category type fields in project and task.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
project_form project.project form Inherits project.edit_project
project_search project.project search Inherits project.view_project_project_filter
project_task_form project.task form Inherits project.view_task_form2
project_task_search project.task search Inherits project.view_task_search_form
project_type_form project.type form New
project_type_search project.type search New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • type_id Many2one → project.type
    comodel_name='project.type' copy=True domain="[('project_ok', '=', True)]" string='Type'
Public methods (0)

No public methods.

New fields (1)
  • type_id Many2one → project.type
    comodel_name='project.type' copy=True domain="[('task_ok', '=', True)]" string='Type'
Public methods (0)

No public methods.

New fields (8)
  • child_ids One2many → project.type
    comodel_name='project.type' inverse_name='parent_id' string='Subtypes'
  • code Char
    copy=False
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • description Text
    translate=True
  • name Char
    required=True translate=True
  • parent_id Many2one → project.type
    comodel_name='project.type' string='Parent Type'
  • project_ok Boolean
    default=True string='Can be applied for projects'
  • task_ok Boolean
    string='Can be applied for tasks'
Public methods (1)
  • check_parent_id(self)
    @api.constrains('parent_id')

Loading…

Loading…

Loading…

Loading…