Following fdb692c25b:
- when creating/unarchiving an employee, we should only create global
time-off of the same company as the employee itself
- when computing the working hours relative to the GTO, if we had both
calendar GTO and company GTO (not linked to a specific calendar), we
were not correctly creating calendar GTO; we should merge those
intervals intead of company GTO interval simply overwriting calendar
GTO intervals
closesodoo/odoo#145596
Task-id: 3619083
X-original-commit: 8ec0c6c106352c19e5c7b5613be2f610fa6e0adb
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>