diff options
| author | Meghna Jaswani <mja@odoo.com> | 2019-09-27 09:16:17 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-18 13:51:29 +0000 |
| commit | 548c2a03a00e4e9c9c43a3162f8e715e01769bf7 (patch) | |
| tree | 499465ee112c10179c2dec1200ba9c3723882445 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 9ba8734f15e1a292ca27b1a026e8366a91b2a8c9 (diff) | |
[FIX] hr_holidays: Include manager (parent_id) as valid responsible
On a time off request, if the 'Time Off Responsible' (leave_manager_id)
is not set, then the SUPERUSER_ID is taken as time off responsible for the
validation.
Before falling back on OdooBot, include the parent_id of the employee,
aka the manager, as a valid responsible.
closes odoo/odoo#39041
Task: 2072111
X-original-commit: 1e1b9b4089736ee8f7ef374c663376d040372ffd
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
