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>
10 lines
353 B
Python
10 lines
353 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import res_company # has to be before hr_holidays to create needed columns on res.company
|
|
from . import account_analytic
|
|
from . import hr_holidays
|
|
from . import res_config_settings
|
|
from . import resource_calendar_leaves
|
|
from . import hr_employee
|