-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Information about bug
Steps to Reproduce:
- Ensure Sunday is marked as holiday in Holiday List
- Create Leave Application for with a Sunday date in the leave period
- Check "Half Day" checkbox
- Expected: Validation error or prevention
- Actual: Half-day allowed on holiday
Impact: Users can create invalid half-day applications on non-working days
Related: Leave Application doctype validation
E.g. 7th Dec (Sunday) to 10th December = 3 Days, as expected with Sunday not counted.

Half-day can select 7th/December and thus half-day is adjusted - not expected.
Module
HR
Version
Frappe Framework: v15.72.5 (HEAD)
ERPNext: v15.67.0 (HEAD)
Frappe HR: v15.47.5 (HEAD)
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working