summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorShreya Modi <smo@odoo.com>2019-06-14 06:46:49 +0000
committerYannick Tivisse <yti@odoo.com>2019-06-25 08:04:08 +0000
commite092060dfeea1eeba852e06106fe66f147cacd00 (patch)
treea49fb425b1c496bce76b59702eef70486eb2e6d4 /addons/web/static/src/js/fields/basic_fields.js
parentccf4fc244a62067a49d3dc411fa689c4bc7ceeed (diff)
[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
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions