Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.46 MB
Module directory on disk
Code analysis 0 migration notes 4 models 7 views 3 HTTP endpoints

Description

Org Chart Widget for HR

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

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…