diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-01-04 15:06:48 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-01-09 15:08:53 +0000 |
| commit | f6b1e3144b514bb3de834694e4a4e544ddc431ec (patch) | |
| tree | b51e71d6d5c69686b0716c68308ea600cf613672 /addons/web/static/src/js/fields | |
| parent | d682137884eb3edf232b12bfad3be0b16d3c45ba (diff) | |
[FIX] resource, hr_payroll: fix hours_per_day onchange
In resource, calendar.attendances with a resource_id specified
were taken into account to compute the average hours per day.
This is incorrect and could lead to hours_per_day being > 24h.
Also when hr_payroll is installed, attendance_ids is replaced
by normal attendance (those without a resource_id set) in the view.
The onchange method was not called to recompute the average hours per day.
This commit fixes both issues.
closes odoo/odoo#29951
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
