Skip to content
Snippets Groups Projects
Commit e15dfad1 authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] hr_holidays: Impossible to delete a refused Time-Off request


Steps to reproduce the bug:

-Create a time-Off request R1 for 27/01
-Refuse R1
-Create another Time-Off request R2 for the same date 27/01
-Set R1 in draft
-Try to delete R1

Bug:

A ValidationError was raised:

You can not set 2 time off that overlaps on the same day for the same employee.

opw:2447540

closes odoo/odoo#65077

Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
parent efafef71
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment