[19.0][MIG] hr_timesheet_sheet: Migration to 19.0#941
Open
aurelien-tempo wants to merge 192 commits into
Open
Conversation
* [10.0] hr_timesheet_sheet * [11.0][MIG] hr_timesheet_sheet * [REMOVE] hr_timesheet.sheet.account * [REMOVE] 'new' state * [ADD] Tests * [UPD] Adapt to multicompany * [ADD] Add more tests (include multicompany tests) * [FIX] project_task_stage_allow_timesheet: show error message only if task * [ADD] Migration scripts to v11
Currently translated at 98.9% (88 of 89 strings) Translation: hr-timesheet-11.0/hr-timesheet-11.0-hr_timesheet_sheet Translate-URL: https://translation.odoo-community.org/projects/hr-timesheet-11-0/hr-timesheet-11-0-hr_timesheet_sheet/ja/
Currently translated at 100,0% (89 of 89 strings) Translation: hr-timesheet-11.0/hr-timesheet-11.0-hr_timesheet_sheet Translate-URL: https://translation.odoo-community.org/projects/hr-timesheet-11-0/hr-timesheet-11-0-hr_timesheet_sheet/pt_BR/
…ay into this module, which adds a configuration to select the week start day.
If you run tests on Sunday, test_4 was not prepared for it, as next day is Monday, which belongs to other week, and thus not included in same timesheet. With this, we cover that case, decreasing one day instead of adding it.
- Remove max-height to let matrix fill available space - Bold non-zero hours, grey out zero values - Highlight today's column in blue
When you are creating the sheet, it automatically creates sheet lines for the existing analytic lines. But if you change the sheet period before saving, don't delete those analytic lines.
Currently translated at 100.0% (183 of 183 strings) Translation: timesheet-18.0/timesheet-18.0-hr_timesheet_sheet Translate-URL: https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-hr_timesheet_sheet/ca/
Currently translated at 21.8% (40 of 183 strings) Translation: timesheet-18.0/timesheet-18.0-hr_timesheet_sheet Translate-URL: https://translation.odoo-community.org/projects/timesheet-18-0/timesheet-18-0-hr_timesheet_sheet/sl/
…roup> tag in search view
…y _search_can_review()
23 tasks
8496b2b to
3fe49e0
Compare
0b7e7e0 to
49baa49
Compare
aurelien-tempo
commented
Jun 25, 2026
Comment on lines
+53
to
+54
| self.env["hr.employee"] | ||
| .sudo() |
Author
There was a problem hiding this comment.
Not sure here if I should do it like this or use self.env["hr.employee.public"] instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate hr_timesheet_sheet from 18.0 to 19.0.
Depends on OCA/web#3578, temporarily pinned through test-requirements.txt.
Migration changes are split in small commits for easier review. I will squash every one of my commits when the PR will be validated.