diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-02-20 15:00:59 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-02-20 15:18:06 +0000 |
| commit | 30291091e75f3a32b9619c908187ba85479fe3b3 (patch) | |
| tree | 93be8bc5e79b892b5cb6c3fe221fd5dadd2b3132 /addons/mail/static/src/js/models/threads/dm_chat.js | |
| parent | 2738341c21ec2e2df355bf8d4c98eab0a96cc21d (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/mail/static/src/js/models/threads/dm_chat.js')
0 files changed, 0 insertions, 0 deletions
