This commit introduces a new widget specific to employees. It is used to display an org chart centered on the current displayed employee. Two levels of managers as well as subordinates are displayed. It is contained in its own module and its installation is available from hr settings. Thanks to Stefano Rigano <sri@odoo.com> (@stefanorigano) for design and UX implementation.
25 lines
541 B
Python
25 lines
541 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'HR Org Chart',
|
|
'category': 'Hidden',
|
|
'version': '1.0',
|
|
'description':
|
|
"""
|
|
Org Chart Widget for HR
|
|
=======================
|
|
|
|
This module extend the employee form with a organizational chart.
|
|
(N+1, N+2, direct subordinates)
|
|
""",
|
|
'depends': ['hr'],
|
|
'data': [
|
|
'views/hr_templates.xml',
|
|
'views/hr_views.xml'
|
|
],
|
|
'qweb': [
|
|
'static/src/xml/hr_org_chart.xml',
|
|
]
|
|
}
|