summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorlul-odoo <lul@odoo.com>2018-10-16 07:49:42 +0000
committerYannick Tivisse <yti@odoo.com>2018-12-06 13:56:45 +0000
commit48254cc8a153e061b64c399abb90cf4d4440bd65 (patch)
tree1bff3f59a7e35ab43e1eca4db962131810a49940 /addons/web/static/src/js/views/basic/basic_controller.js
parent24609722f1cd8e647f15c2a81f31ac272bac6317 (diff)
[IMP] hr_org_chart: Allow recursion in hierarchy
Employees can appear multiple times in the org chart Purpose ======= Allow recursive hierarchy (an employee can be its own manager; e.g. the CEO is manager of everyone but is also member of a department managed by the CTO who is himself managed by the CEO). This means an employee might appear in multiple place in the organisational chart. The button to see more of the hierarchy in the organisation chart opens all employees under the N+2 of the current employee being displayed but does not open the view of the N+2. Specification ============= Add 'subordinates_ids' computed field on 'hr.employee' to get all subordinates (direct and indirect). closes odoo/odoo#27900
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions