Repository
OCA/department · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules/Projects & Services
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/project-service
Last tracking update
2026-08-07 07:03:15
Authors
Odoo Community Association (OCA), Daniel Reis
Maintainers
Odoo Community Association (OCA), Daniel Reis
Committers
Stéphane Bidoul, Alexandre Fayolle, Daniel Reis, OCA-git-bot
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Enables Tasks to store the Department they correspond to.
By default this will be the Project Department, but it is editable.

(Note that the ``project_department`` also adds a Department field on
Tasks, but with the sole purpose of making the Project Department
available on them.)

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_task_form2 project.task.department.form project.task form Inherits project.view_task_form2
view_task_search_form project.task.search.form project.task form Inherits project.view_task_search_form
view_task_tree2 project.task.department.tree project.task tree Inherits project.view_task_tree2
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (1)
  • department_id Many2one → hr.department
    args: 'hr.department', 'Department'
Public methods (1)
  • onchange_project(self, cr, uid, ids, proj_id=False, context=None)
    When Project is changed: copy it's Department to the issue.