TIP: You can type at any time to perform a new search.
HR Timesheet: Employee Cost from Contract
hr_timesheet_employee_cost_contract · OCA/timesheet
- Repository
- OCA/timesheet · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Human Resources
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/timesheet
- Last tracking update
- 2026-08-07 07:31:59
- Authors
- Odoo Community Association (OCA), CorporateHub
- Maintainers
- Odoo Community Association (OCA), CorporateHub
- Committers
- Alexey Pelykh, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Code Analysis ⓘ
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.