Skip to content
Snippets Groups Projects
Commit 5a9b8a41 authored by lul-odoo's avatar lul-odoo Committed by Yannick Tivisse
Browse files

[IMP] resource: Add `domain` parameter to compute attendace intervals

Purpose
=======
More flexibility is useful when using the _attendance_intervals method (resource.calendar) in other modules when inheriting resource.calendar

Specification
=============
The commit adds a `domain` parameter to the _attendance_intervals method in resource.calendar, allowing
to better control attendances from which to compute intervals.

+ small refactoring: extraction of duplicated code in method
parent 07bec7db
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment