fix(hr): allow zero allocations for negative leave types [frappe] PR#4518

From: https://github.com/frappe/hrms/pull/4518
Date: 2026-05-11 16:41:20+00:00

  • fix(leave_policy_assignment): add allow_negative to get_leave_type_details
  • fix(hr): allow zero allocations for negative leave types



Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-4518

# Alternatively, re-take the changes
git switch develop
ft take ft-pr-4518

# Make changes then rebase
git rebase -i develop

# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue

# Force-push changes
git push --force-with-lease

Merge request reports

Loading