[18.0][MIG] hr_timesheet_portal: Migration to 18.0 #840
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.
This migration follows the recent migration of
hr_timesheet_portalto 17.0. There is already OCA/timesheet#800 for 18.0, but that one is more of a direct drop-in of code that works in 18.0, whereas this PR includes the full commit history and therefore provides traceability of the changes. However, the contribution of its author is acknowledged, as they were added to the list of contributors in the migration to 17.0.Speaking of which:
hr_timesheet_portal/static/src/js/hr_timesheet_portal.esm.js
sessionand bounduserservice with a staticuserimport.browser.setTimeoutinstead of the globalsetTimeoutto satisfy ESLint.this.userbinding and unused imports.hr_timesheet_portal/templates/portal.xml
analytic_account_idwithaccount_id.@hbrunn once again, would you be so kind to review it for me please?