Files
odoo_source/addons/hr_org_chart/controllers
Shreya Modi e092060dfe [FIX] hr_org_chart: Fix traceback on employee creation
While creating employee and selecting a company other than the current company,
saving record shows a traceback.

Currently xml template expects managers and children key returned from
/get_org_chart controller but /get_org_chart was returning blank dict, and which
is used as qweb context to render template.

Return {'managers': [], 'children': []} if _check_employee returns False

task-2000269
2019-06-25 08:04:08 +00:00
..