TIP: You can type at any time to perform a new search.
Project Timesheet Holidays - re-enable generated timesheets edition
project_timesheet_holidays_editable · OCA/timesheet
- Repository
- OCA/timesheet · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Human Resources
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/timesheet
- Last tracking update
- 2026-08-07 08:43:00
- Authors
- Odoo Community Association (OCA), Solvos Consultoría Informática
- Maintainers
- Odoo Community Association (OCA), Solvos Consultoría Informática
- Committers
- Weblate, OCA-git-bot, oca-ci, Carlos Garcia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_holiday_status_view_form_inherit |
hr.leave.type.form (in project_timesheet_holidays_edit_ts) | hr.leave.type | form | Inherits project_timesheet_holidays.hr_holiday_status_view_form_inherit |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
timesheet_edit_levelSelectioncompute='_compute_timesheet_edit_level'default='none'help='\n For this leave type, indicates who can edit generated timesheets\n 'readonly=Falseselection=[('none', 'None'), ('approver', 'Officer'), ('all', 'All')]store=True
No public methods.
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 84 days ago
- Last activity
- 34 days ago
- Repository
- OCA/timesheet
- Pull request
- [19.0][MIG] project_timesheet_holidays_editable (#935)