Saturday, January 18, 2025
5 changes · 17.0
Resolved issues and error corrections
This fix stops Odoo from creating an unnecessary activity when a time off request requires a Time Off Officer approval but no officer has been configured. It helps avoid confusing or misassigned follow-up tasks for leave requests.
Original PR description
Steps: - Install the hr_holiday module - Configure Time Off Type with validation set to `Approved by Time Off Officer` or `Both` - Create a Time Off request without setting a Time Off Officer. --- Description of the issue/feature this PR addresses: When the validation type is set to `hr` or `both` and no Time Off Officer is configured, an activity is incorrectly generated upon creating a Time Off request. --- Fix: This PR resolves the issue by ensuring the responsible user is set to empty when validation is `hr` or `Both` and no Time Off Officer is configured. task-4351688
The customer portal now keeps invoice previews readable when invoice amounts are unusually long. This prevents the sidebar layout from breaking, making invoice totals easier for users to view.
Original PR description
This PR addresses the layout issue in the sidebar of the portal, where a preview of the customer's invoice is displayed. Before this PR, users encountered a broken layout for large invoice amounts, making it difficult to read the total. This issue is resolved in this PR by adding a rules for the `h2` and `span` fields ensuring proper wrapping for better readability. Steps to reproduce: - Login as admin. - Go to Website app. - Navigate to "My account" at my/home url. - Click on "My invoices" or navigate to my/invoices url. - Click on one invoice in order to see its preview. - Via the browser tools, edit the amount of on the left sidebar and insert a very big number. task-4435472 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Opening a chat channel on a mobile device no longer automatically focuses the message composer. This prevents the on-screen keyboard from covering much of the screen, making mobile chat navigation smoother.
Original PR description
Before this commit, when opening a channel on mobile the composer gets automatically focused. This is not a problem on desktop, but when on mobile it triggers the opening of the system keyboard, occupying half the screen and requiring a "back" command to close it. This happens because the function that opens the chat window will put focus on the composer. This commit fixes the issue by only focusing the composer when not on mobile. task-4115728
This update corrects a test in the Sales Expenses area so it uses the proper expense approval action. It helps ensure the automated checks match the intended workflow and reduces the chance of regressions in this version.
Original PR description
This fixes an mistake in this forward-port: https://github.com/odoo/odoo/pull/193036 Only 17.0 is impacted; further forward-ports will directly be done right.
Time Off requests no longer create unnecessary follow-up activities when no Time Off Officer is assigned. This avoids confusing reminders and keeps the approval workflow aligned with the actual configuration.
Original PR description
Steps: - Install the hr_holiday module - Configure Time Off Type with validation set to `Approved by Time Off Officer` or `Both` - Create a Time Off request without setting a Time Off Officer. --- Description of the issue/feature this PR addresses: When the validation type is set to `hr` or `both` and no Time Off Officer is configured, an activity is incorrectly generated upon creating a Time Off request. --- Fix: This PR requires adding responsible_ids in the test cases. The changes made in this task remove activities when responsible_ids is not set, causing the test cases to fail. Adding responsible_ids will ensure the tests pass successfully. task-4351688