Skip to content
Snippets Groups Projects
Commit 331014f7 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[FIX] error message for domain in resource.calendar.leaves

parent 69230a2c
No related branches found
No related tags found
No related merge requests found
...@@ -199,6 +199,7 @@ class ScopHrTimesheet(models.Model): ...@@ -199,6 +199,7 @@ class ScopHrTimesheet(models.Model):
("company_id", "=", self.env.company.id), ("company_id", "=", self.env.company.id),
("date_from", "<=", dt), ("date_from", "<=", dt),
("date_to", ">=", dt), ("date_to", ">=", dt),
("resource_id", "=", False),
] ]
) )
if line.date.weekday() in (5, 6) or holiday: if line.date.weekday() in (5, 6) or holiday:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment