HR Timesheet Sheet Restriction

hr_timesheet_time_restriction
REPOSITORY
REPOSITORYOCA/timesheet
GIT
GIThttps://github.com/OCA/timesheet.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/timesheet/tree/16.0/hr_timesheet_time_restriction
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Dmytro Meita
WEBSITE
WEBSITEhttps://github.com/OCA/timesheet
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_timesheet
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - hr_hourly_cost
    - analytic
    - uom
    - project
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - rating
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
edit_project project.project.view.form project.project xpath Inherits project.edit_project
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits hr_timesheet.res_config_settings_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • timesheet_restriction_days Integer
    default=0 help='Maximum number of days before today allowed for a timesheet. Set to 0 to disable project‑level restriction.'
  • use_timesheet_restriction Boolean
    default=<expr> help='Whether to enforce date restriction for this project based on the global setting.'
Public methods (0)

No public methods.

New fields (2)
  • timesheet_restriction_days Integer
    config_parameter='hr_timesheet_time_restriction.timesheet_restriction_days' default=0
  • use_timesheet_restriction Boolean
    config_parameter='hr_timesheet_time_restriction.use_timesheet_restriction'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/timesheet
GIT
GIThttps://github.com/OCA/timesheet.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/timesheet/tree/14.0/hr_timesheet_time_restriction
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, oca-ci, dessanhemrayev, diga
WEBSITE
WEBSITEhttps://github.com/OCA/timesheet
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_timesheet
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - analytic
    - uom
    - project
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - rating
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
edit_project project.project.view.form project.project xpath Inherits project.edit_project
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits hr_timesheet.res_config_settings_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • timesheet_restriction_days Integer
    default=0 help='Not active if equal to 0.'
  • use_timesheet_restriction Boolean
    default=<expr>
Public methods (0)

No public methods.

New fields (2)
  • timesheet_restriction_days Integer
    config_parameter='hr_timesheet_time_restriction.timesheet_restriction_days' default=0
  • use_timesheet_restriction Boolean
    config_parameter='hr_timesheet_time_restriction.use_timesheet_restriction'
Public methods (0)

No public methods.