Re-enables timesheet edition when they're generated from leaves
Project description
Project Timesheet Holidays - re-enable generated timesheets edition
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:
Go to Time Off (hr_holidays)
Navigate to Configuration → Time Off Types
Select the desired Time Off Type
Make sure the option “Generate Timesheets” (timesheet_generate) is enabled (This configuration menu is only visible if timesheet generation is enabled).
Configure the Timesheet Restriction Level
Timesheet Restriction Levels
Each Time Off Type can define how restrictive the generated timesheets are:
None
The generated timesheet entries cannot be edited by anyone
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
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
Contributors
-
David ALonso <david.alonso@solvos.es>
Maintainers
This module is maintained by the OCA.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_project_timesheet_holidays_editable-18.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_project_timesheet_holidays_editable-18.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
273620feaaacb7e4104fbefc9dfe3cf00971c9f737d0e216e0bb7f68f3ab6dbc
|
|
| MD5 |
1e3379940b57d5554fdb9178aacc87ca
|
|
| BLAKE2b-256 |
b123575c16b8db79288cee155e5e4956143534e23555de9944c5c8f4f462da92
|