HR Timesheet: Employee Cost from Contract

hr_timesheet_employee_cost_contract
REPOSITORY
REPOSITORYOCA/timesheet
GIT
GIThttps://github.com/OCA/timesheet.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/timesheet/tree/12.0/hr_timesheet_employee_cost_contract
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), CorporateHub
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), CorporateHub
COMMITTERS
COMMITTERSAlexey Pelykh, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/timesheet
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_timesheet
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - analytic
    - decimal_precision
    - uom
    - project
    - portal
    - http_routing
    - rating
    - digest
    - hr_contract
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.form hr.contract page Inherits hr_contract.hr_contract_view_form
hr_employee_view_form_inherit_timesheet hr.employee.form.timesheet hr.employee xpath Inherits hr_timesheet.hr_employee_view_form_inherit_timesheet
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits hr_timesheet.res_config_settings_view_form
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_cost Boolean
    string='Exclude from Employee Cost'
Public methods (0)

No public methods.

New fields (4)
  • timesheet_cost Monetary
    compute='_compute_timesheet_cost' default=None inverse='_inverse_timesheet_cost'
  • timesheet_cost_contracts Monetary
    compute='_compute_timesheet_cost_contracts' string='Timesheet Cost (contracts)'
  • timesheet_cost_manual Monetary
    string='Timesheet Cost (manual)'
  • use_manual_timesheet_cost Boolean
    default=<expr> string='Use manual Timesheet Cost'
Public methods (2)
  • create(self, vals)
    @api.model
  • onchange_use_manual_timesheet_cost(self)
    @api.onchange('use_manual_timesheet_cost')

New fields (2)
  • employee_timesheet_cost_policy Selection
    default='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_cost Boolean
    default=True string="Use manual Employee's Timesheet Cost"
Public methods (0)

No public methods.

New fields (2)
  • employee_timesheet_cost_policy Selection
    readonly=False related='company_id.employee_timesheet_cost_policy'
  • use_manual_employee_timesheet_cost Boolean
    readonly=False related='company_id.use_manual_employee_timesheet_cost'
Public methods (0)

No public methods.

New fields (1)
  • unpaid Boolean
    related='holiday_id.holiday_status_id.unpaid' store=True
Public methods (0)

No public methods.