Timesheet when on Time Off
project_timesheet_holidays · odoo/odoo
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.63 MB
Module directory on disk
Code analysis
0 migration notes
9 models
2 views
0 HTTP endpoints
Description
Bridge module to integrate leaves in timesheet
This module allows to automatically log timesheets when employees are on leaves. Project and task can be configured company-wide.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
leave_task_form_view |
project.task.leave.form.view | project.task | form | Inherits hr_timesheet.view_task_form2_inherited |
res_config_settings_view_form |
res.config.settings.view.form.inherit.project.timesheet.holidays | res.config.settings | form | Inherits hr_timesheet.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 9
New fields (3)
-
global_leave_idMany2one → resource.calendar.leavesexport_string_translation=Falseindex='btree_not_null'ondelete='cascade'string='Global Time Off' args: 'resource.calendar.leaves' -
holiday_idMany2one → hr.leavecopy=Falseexport_string_translation=Falseindex='btree_not_null'string='Time Off Request' args: 'hr.leave' -
task_idMany2onedomain="[('allow_timesheets', '=', True), ('project_id', '=?', project_id), ('has_template_ancestor', '=', False), ('is_timeoff_task', '=', False)]"
No public methods.
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (0)
No new fields.
Public methods (1)-
action_register(self)
New fields (1)
-
timesheet_idsOne2many → account.analytic.linestring='Analytic Lines' args: 'account.analytic.line', 'holiday_id'
-
action_refuse(self)Remove the timesheets linked to the refused holidays -
write(self, vals)
New fields (2)
-
is_timeoff_taskBooleancompute='_compute_is_timeoff_task'export_string_translation=Falsegroups='hr_timesheet.group_hr_timesheet_user'search='_search_is_timeoff_task' args: 'Is Time off Task' -
leave_types_countIntegercompute='_compute_leave_types_count'string='Time Types Count'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
leave_timesheet_task_idMany2one → project.taskdomain="[('project_id', '=', internal_project_id)]"string='Time Off Task' args: 'project.task'
No public methods.
New fields (2)
-
internal_project_idMany2onedomain="[('company_id', '=', company_id), ('is_template', '=', False)]"help='The default project used when automatically generating timesheets via time off requests. You can specify another project on each time type individually.'readonly=Falserelated='company_id.internal_project_id'required=Truestring='Internal Project' -
leave_timesheet_task_idMany2onedomain="[('company_id', '=', company_id), ('project_id', '=?', internal_project_id), ('has_template_ancestor', '=', False)]"help='The default task used when automatically generating timesheets via time off requests. You can specify another task on each time type individually.'readonly=Falserelated='company_id.leave_timesheet_task_id'string='Time Off Task'
No public methods.
New fields (1)
-
timesheet_idsOne2many → account.analytic.lineexport_string_translation=Falsestring='Analytic Lines' args: 'account.analytic.line', 'global_leave_id'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…