Repository
odoo/odoo · module folder
Module version
1.0
Category
Human Resources
Folder size
0.46 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:44:15
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Yannick Tivisse, Odoo Online, Julien Castiaux, Julien Mougenot, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, Dylan Kiss (dyki), Don Kendall, Xavier Bol (xbo), reka-odoo, nihp-odoo, Abdelrahman Mahmoud (amah), ahta, Michaël Mattiello, Maeva De Keyser (MDEK), romc-odoo, Laetitia (ldau), ksar-odoo, Elliot ELCO, Ziri, flotchet
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Org Chart Widget for HR
=======================

This module extend the employee form with a organizational chart.
(N+1, N+2, direct subordinates)
        

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
hr_department_hierarchy_view hr.departmnent.view.hierarchy hr.department New
hr_employee_hierarchy_view hr.employee.view.hierarchy hr.employee New
hr_employee_public_hierarchy_view hr.employee.public.hierarchy.view hr.employee.public New
hr_employee_public_view_form_inherit_org_chart hr.employee.public.view.form.inherit.org_chart hr.employee.public form Inherits hr.hr_employee_public_view_form
hr_employee_view_form_inherit_org_chart hr.employee.view.form.inherit.org_chart hr.employee form Inherits hr.view_employee_form
hr_employee_view_graph_inherit_org_chart hr.employee.view.graph.inherit.org_chart hr.employee graph Inherits hr.hr_employee_view_graph
hr_employee_view_pivot_inherit_org_chart hr.employee.view.pivot.inherit.org_chart hr.employee pivot Inherits hr.hr_employee_view_pivot
HTTP endpoints (3)
Route(s)HandlerAuthTypeMethodsFlags
/hr/get_org_chart HrOrgChartController.get_org_chart user jsonrpc ALL sudo
/hr/get_redirect_model HrOrgChartController.get_redirect_model user jsonrpc ALL
/hr/get_subordinates HrOrgChartController.get_subordinates user jsonrpc ALL
Models touched (4)

New fields (2)
  • is_subordinate Boolean
    compute='_compute_is_subordinate' search='_search_is_subordinate'
  • subordinate_ids One2many → hr.employee
    compute='_compute_subordinates' compute_sudo=True help='Direct and indirect subordinates' string='Subordinates' args: 'hr.employee'
Public methods (0)

No public methods.

New fields (3)
  • child_all_count Integer
    compute='_compute_subordinates' compute_sudo=True recursive=True store=False args: 'Indirect Subordinates Count'
  • child_count Integer
    compute='_compute_child_count' compute_sudo=True recursive=True args: 'Direct Subordinates Count'
  • department_color Integer
    related='department_id.color' args: 'Department Color'
Public methods (0)

No public methods.

New fields (2)
  • is_subordinate Boolean
    related='employee_id.is_subordinate'
  • subordinate_ids One2many
    compute_sudo=True related='employee_id.subordinate_ids'
Public methods (0)

No public methods.

New fields (3)
  • child_all_count Integer
    compute='_compute_child_all_count'
  • child_count Integer
    compute='_compute_child_count'
  • department_color Integer
    compute='_compute_department_color'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…