summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread_windows
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-01-04 15:06:48 +0000
committerLucas Lefèvre <lul@odoo.com>2019-01-09 15:08:53 +0000
commitf6b1e3144b514bb3de834694e4a4e544ddc431ec (patch)
treeb51e71d6d5c69686b0716c68308ea600cf613672 /addons/mail/static/src/js/thread_windows
parentd682137884eb3edf232b12bfad3be0b16d3c45ba (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/mail/static/src/js/thread_windows')
0 files changed, 0 insertions, 0 deletions