HR Timesheet: Employee Cost from Contract
hr_timesheet_employee_cost_contract · OCA/timesheet
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 61 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.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
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
3 migration notes
6 models
3 views
0 HTTP endpoints
Migration considerations
AccountAnalyticLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceHrContract— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceHrEmployee— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (6 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_contract_view_form |
hr.contract.form | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
hr_employee_view_form_inherit_timesheet |
hr.employee.form.timesheet | hr.employee | form | Inherits hr_timesheet.hr_employee_view_form_inherit_timesheet |
res_config_settings_view_form |
res.config.settings.view.form | res.config.settings | form | Inherits hr_timesheet.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (0)
No new fields.
Public methods (1)-
action_recompute_timesheet_cost(self)@api.multi
New fields (1)
-
exclude_from_employee_costBooleanstring='Exclude from Employee Cost'
No public methods.
New fields (4)
-
timesheet_costMonetarycompute='_compute_timesheet_cost'default=Noneinverse='_inverse_timesheet_cost' -
timesheet_cost_contractsMonetarycompute='_compute_timesheet_cost_contracts'string='Timesheet Cost (contracts)' -
timesheet_cost_manualMonetarystring='Timesheet Cost (manual)' -
use_manual_timesheet_costBooleandefault=<expr>string='Use manual Timesheet Cost'
-
create(self, vals)@api.model -
onchange_use_manual_timesheet_cost(self)@api.onchange('use_manual_timesheet_cost')
New fields (2)
-
employee_timesheet_cost_policySelectiondefault='monthly_avg'help="How Employee's Timesheet Cost is calculated"selection=[('contract_avg', 'Contract-wide average'), ('annual_avg', 'Annual average'), ('monthly_avg', 'Monthly average')]string="Employee's Timesheet Cost policy" -
use_manual_employee_timesheet_costBooleandefault=Truestring="Use manual Employee's Timesheet Cost"
No public methods.
New fields (2)
-
employee_timesheet_cost_policySelectionreadonly=Falserelated='company_id.employee_timesheet_cost_policy' -
use_manual_employee_timesheet_costBooleanreadonly=Falserelated='company_id.use_manual_employee_timesheet_cost'
No public methods.
New fields (1)
-
unpaidBooleanrelated='holiday_id.holiday_status_id.unpaid'store=True
No public methods.