Before this commit, we search the leaves in the same interval of the public leaves. This commit searches all leaves containing the public leave in their interval to get all leaves and not create a timesheet for this public leave for an employee is already off. task-2665899 closes #79034 X-original-commit: ca6c164075d83e6bace2451888f8a2365b769e1a Part-of: odoo/odoo#79291