Skip to main content
Odoo Community Association

Project Timesheet Holidays - re-enable generated timesheets edition

Beta License: AGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

By default, every timesheet generated from a leave becomes read-only, so nobody can directly edit it and e.g. change its hour count. This shouldn’t occur in Odoo previous versions.

This could be annoying, because for certain leaves (like medical leaves), final spent time should be different than initial leave filled. This forces to reject, modify and then approve again leave. Exact time could not be filled sometimes anyway, due to leave form hour selection.

This addon re-enables timesheet edition when they’re generated from leaves (initially name and quant fields), letting us make it editable depending on leave type.

Table of contents

Usage

Once installed, it adds a configuration option to define the editability level of timesheets generated from each Time Off Type.

Configuration

After installing the module, follow these steps:

  1. Go to Time Off (hr_holidays)

  2. Navigate to Configuration → Time Off Types

  3. Select the desired Time Off Type

  4. Make sure the option “Generate Timesheets” (timesheet_generate) is enabled (This configuration menu is only visible if timesheet generation is enabled).

  5. Configure the Timesheet Restriction Level

Timesheet Restriction Levels

Each Time Off Type can define how restrictive the generated timesheets are:

  1. None

    • The generated timesheet entries cannot be edited by anyone

  2. Officer

    • Timesheet entries can only be edited by users belonging to the group: hr_holidays.group_hr_holidays_user

    • Prevents regular employees from modifying generated timesheets

  3. All

    • Timesheet entries can be edited by any user with access to timesheets

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Solvos Consultoría Informática

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/timesheet project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-project-timesheet-holidays-editable 18.0.1.0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-project-timesheet-holidays-editable 18.0.1.0.0.6
File Interpreter ABI Platform
odoo_addon_project_timesheet_holidays_editable-18.0.1.0.0.6-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_project_timesheet_holidays_editable-18.0.1.0.0.6-py3-none-any.whl

Download URL odoo_addon_project_timesheet_holidays_editable-18.0.1.0.0.6-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c38993c5d6195718c248dced400bcd4d9b9f87a0f96a018c5849257b14f2b95d
BLAKE2b-256 checksum
How to use checksums
896f9daac4063c26150cf12b54fa6c2e3729c635a4116ea331fc6eb06cd1c318
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page