[FIX]hr_employee_stats_sheet:convert public holidays in employee tz
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m31s
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m31s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user