Generate timesheet entries for each employee when a global time off is created if module_project_timesheet_holidays is true. This only impacts the employees with the corresponding resource calendar The entries are linked to the project and task set in the settings. The number of hours timesheeted corresponds to the timeframe during which both the global time off and the working hours of the employee overlap (same behavior as for regular time off). If the global time off is modified or deleted, the timesheet entry is adapted accordingly. Task-2352428 Closes #67021 Co-authored-by: Laurent Stukkens (LTU) <ltu@odoo.com> Co-authored-by: jdoutreloux <jud@odoo.com>
6 lines
183 B
Python
6 lines
183 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_timesheet_holidays
|
|
from . import test_timesheet_global_time_off
|