Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[FIX] hr_payroll: Approving a leave deletes overlapping benefits #31997
Steps to reproduce:
Current behavior: Benefits overlapping the leave are not deleted.
Fix: compute conflicting benefits before approving
Note: this fix is sub-optimal and a better fix should be