odoo/odoo#98134

Created by Mountain Tran
label
tranngocson1996:v15_fix_holidays_1
head
c731a3acdc16f65f86e4d65966b2381ccca4be73
target
15.0
merged
2 years ago by Yannick Tivisse (yti)
forward-ports

[FIX][15.0] hr_holidays: fix bug there are 2 timeoffs in the same time

Current:
With the allocated timeoff type, an employee who takes leave at the same
time will get an error

For example:
Two timeoff in the same day

Bug:
Expected singleton

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:




--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr