summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-02-20 15:00:59 +0000
committerLucas Lefèvre <lul@odoo.com>2019-02-20 15:18:06 +0000
commit30291091e75f3a32b9619c908187ba85479fe3b3 (patch)
tree93be8bc5e79b892b5cb6c3fe221fd5dadd2b3132 /addons/web/static/src/js/fields/basic_fields.js
parent2738341c21ec2e2df355bf8d4c98eab0a96cc21d (diff)
[FIX] hr_payroll: Set benefit type on resource leave
Currently, when creating `resource.calendar.leaves` for a `hr.leave` it creates one in the employee's calendar and one in the contract's calendar if it's different. But if both calendar are the same, it does not associate the benefit type to the resource leave. This commit fixes the issue and add unit tests for this use case. closes odoo/odoo#31288
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions