diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-01-02 08:53:31 +0100 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-02-13 11:03:33 +0100 |
| commit | 0cd13b001a9c66a8cde22abf5b98332005af1f76 (patch) | |
| tree | 9f317c589b50fc8b5a15299c842f810198d10184 /addons/web/static/src/xml | |
| parent | 1e5778844f6e567a35e55ab79e1d6e0f0246f667 (diff) | |
[IMP] hr, hr_holidays, hr_expense: Change onchange parent_id behaviour
Purpose
=======
When the manager (parent_id) of an employee changes,
it doesn't always mean that other responsibles (Leave responsible,
expense responsible, coach) should also change.
Specification
=============
When changing the employee's manager, the leave responsible,
the expense responsible and the coach should be changed only
if the field was not set or if the responsible is the previous manager.
In that case, they should be set to the new manager.
Otherwise, it means the field was most probably set manually and
it should be left unchanged.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
