Skip to content
Snippets Groups Projects
Commit ba2c179c authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] hr_holidays: validity constraint


- Create a leave type valid from June 1st
- Create a leave in May using the created leave type

Nothing prevents the user to do it.

It is because the constraint is implemented only if there is a validity
start and end date.

Fixes #32107
opw-2009800

closes odoo/odoo#34225

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 84b89555
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