| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/timesheet |
| GIT | |
| GIT | https://github.com/OCA/timesheet.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/timesheet/tree/18.0/project_timesheet_holidays_editable |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Solvos Consultoría Informática |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Solvos Consultoría Informática |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Carlos Garcia |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/timesheet |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:17 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - project_timesheet_holidays - hr_timesheet - hr - base_setup - base - web - digest - bus - web_tour - html_editor - portal - web_editor - http_routing - auth_signup - resource - phone_validation - resource_mail - hr_hourly_cost - analytic - uom - project - rating - hr_holidays - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| 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 | field | Inherits project_timesheet_holidays.hr_holiday_status_view_form_inherit |
No new fields.
Public methods (0)No public methods.
timesheet_edit_level
Selection
compute='_compute_timesheet_edit_level'
default='none'
help='\n For this leave type, indicates who can edit generated timesheets\n '
readonly=False
selection=[('none', 'None'), ('approver', 'Officer'), ('all', 'All')]
store=True
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/timesheet |
| GIT | |
| GIT | https://github.com/OCA/timesheet.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/timesheet/tree/17.0/project_timesheet_holidays_editable |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Human Resources |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Solvos Consultoría Informática |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Solvos Consultoría Informática |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Carlos Garcia |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/timesheet |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:09 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - project_timesheet_holidays - hr_timesheet - hr - base_setup - base - web - phone_validation - bus - web_tour - resource - hr_hourly_cost - analytic - uom - project - portal - web_editor - http_routing - auth_signup - rating - digest - hr_holidays - calendar - onboarding |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| 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 | field | Inherits project_timesheet_holidays.hr_holiday_status_view_form_inherit |
No new fields.
Public methods (0)No public methods.
timesheet_edit_level
Selection
compute='_compute_timesheet_edit_level'
default='none'
help='\n For this leave type, indicates who can edit generated timesheets\n '
readonly=False
selection=[('none', 'None'), ('approver', 'Officer'), ('all', 'All')]
store=True
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/timesheet |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] project_timesheet_holidays_editable (#935) |