Skip to content

[FIX] hr_holidays: don't allow user to select impossible day for month#5192

Draft
LucasDaniOV wants to merge 1 commit into
master-hr-onboarding-luoudfrom
master-hr-onboarding-time-off-accrual-ux-luoud
Draft

[FIX] hr_holidays: don't allow user to select impossible day for month#5192
LucasDaniOV wants to merge 1 commit into
master-hr-onboarding-luoudfrom
master-hr-onboarding-time-off-accrual-ux-luoud

Conversation

@LucasDaniOV

@LucasDaniOV LucasDaniOV commented Jun 25, 2026

Copy link
Copy Markdown

Steps to reproduce: Time Off >> Configuration >> Accrual plans >> New > Create milestone >> Set frequency

This code fixes the problem where a user could potentially (in the UX) choose an invalid day for the specified month, like 31 of February. Now this is not possible anymore.
The user is able to choose 29 of February which is not always valid but this will be handled by backend.

Task: 6333684

@robodoo

robodoo commented Jun 25, 2026

Copy link
Copy Markdown

This PR targets the un-managed branch odoo-dev/odoo:master-hr-onboarding-luoud, it needs to be retargeted before it can be merged.

@LucasDaniOV LucasDaniOV force-pushed the master-hr-onboarding-time-off-accrual-ux-luoud branch 4 times, most recently from 70eea4c to ba665fe Compare June 30, 2026 10:45
Steps to reproduce: Time Off >> Configuration >> Accrual plans >> New > Create milestone >> Set frequency

This code fixes the problem where a user could potentially (in the UX) choose an invalid day for the specified month, like 31 of February. Now this is not possible anymore.
The user is able to choose 29 of February which is not always valid but this will be handled by backend.

Task: 6333684
@LucasDaniOV LucasDaniOV force-pushed the master-hr-onboarding-time-off-accrual-ux-luoud branch from ba665fe to f98c496 Compare July 9, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants