[FIX]hr_employee_stats_sheet:convert public holidays in employee tz
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m31s

This commit is contained in:
2025-11-04 16:00:56 +01:00
parent ee1e1cbe65
commit 958d0c4118
3 changed files with 131 additions and 63 deletions

View File

@@ -110,8 +110,8 @@ class HrTimesheetSheet(models.Model):
("state", "in", ("open", "close")),
("date_start", "<=", self.date_end),
"|",
("date_end", "=", False), # pas de date de fin OU
("date_end", ">=", self.date_start), # date de fin après le début
("date_end", "=", False), # no end date OR
("date_end", ">=", self.date_start), # end date after start
],
)
return contracts