HR Timesheet Sheet by Role

hr_timesheet_sheet_role
REPOSITORY
REPOSITORYOCA/timesheet
GIT
GIThttps://github.com/OCA/timesheet.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/timesheet/tree/12.0/hr_timesheet_sheet_role
VERSION
VERSION 2.2.1
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
COMMITTERSAndrea, Alexey 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 OCA/project:
    - project_role
OCA/timesheet:
    - hr_timesheet_role
    - hr_timesheet_sheet
OCA/web:
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - hr_timesheet
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - analytic
    - decimal_precision
    - uom
    - project
    - portal
    - http_routing
    - rating
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
hr_timesheet_sheet_form hr_timesheet.sheet.form hr_timesheet.sheet xpath Inherits hr_timesheet_sheet.hr_timesheet_sheet_form
Models touched (3)

New fields (2)
  • add_line_limit_role_to_assignments Boolean
    related='add_line_project_id.limit_role_to_assignments'
  • add_line_role_id Many2one → project.role
    comodel_name='project.role' domain=<expr> help='If selected, the associated role is added to the timesheet sheet when clicked the button.' states={'draft': [('readonly', False)]} string='Select Role'
Public methods (2)
  • onchange_add_project_id(self)
    @api.onchange('add_line_project_id')
  • reset_add_line(self)
    @api.multi

New fields (1)
  • role_id Many2one → project.role
    comodel_name='project.role' string='Role'
Public methods (1)
  • get_unique_id(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.