Project Task specific Department

project_task_department
REPOSITORY
REPOSITORYOCA/department
GIT
GIThttps://github.com/OCA/department.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/department/tree/8.0/project_task_department
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Projects & Services
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Daniel Reis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/project-service
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/department:
    - project_department
    - analytic_base_department
odoo/odoo:
    - analytic
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - hr
    - resource
    - board
    - project
    - product
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits project.view_task_form2
view_task_search_form project.task.search.form project.task field Inherits project.view_task_search_form
view_task_tree2 project.task.department.tree project.task field Inherits project.view_task_tree2
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.