Wednesday, April 24, 2024
11 changes · master
Enhancements to existing features
The GIF option is no longer shown when users write comments in Knowledge. This keeps the comment composer focused for that use case while leaving GIFs available in other areas that still need them.
Original PR description
This commit changes the display of the GIF button when inside Knowledge comments. When refactoring the comments system in Knowledge we decided to remove the GIFs from the composer as they would not be needed in that use case. In order to not impact the other modules we are adding a variable in the env that is set to true when inside a comment. This variable is added to the GIF button display state getter so that it is not shown in our use case. task-3557584 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When a portal user creates a sub-task, it will now automatically use the same assignee as the parent task. This reduces manual assignment work and helps ensure follow-up tasks stay with the right person by default.
Original PR description
**Prior to this commit:** Assignee of the sub task is not set by default for portal user **Post this commit:** By default, the assignee of the sub task is set to that of the parent task **Task**-3690788
Website text can now scale down more consistently on mobile devices when larger desktop font sizes are used. This improves readability and visual consistency across screen sizes while keeping the visible impact small for most sites.
Original PR description
Commit [1] updated bootstrap from version 5.1.3 to 5.3.3. While doing that, it tried to minimize the visual impact for the website, for example by making [2], which is great. However, as we see it,…
Commit [1] updated bootstrap from version 5.1.3 to 5.3.3. While doing that, it tried to minimize the visual impact for the website, for example by making [2], which is great. However, as we see it, what [2] restored is basically a shortcoming of Bootstrap 5.1.3. Indeed, in particular with the work at [3] (many commits), font-size responsiveness is what we want: there is no reason for all font-sizes to be responsive... except the main font size. This thus basically reverts [2] to make it so the main font-size is now responsive too. Note that the impact is however minimal, as it only reduces font-sizes on mobile when they are bigger than 20px on desktop... which should thus be rare for the main font-size of a website. Still, the code is better with this (less bootstrap override). [1]: https://github.com/odoo/odoo/commit/f0d43564e3275c27cb23c491fad604a526040089 [2]: https://github.com/odoo/odoo/commit/6c33c6680b8927427f2d8dfcd2a7a57c3a1ff3d0 [3]: https://github.com/odoo/odoo/pull/129791
Managers and higher-level HR Holidays users can now see the description attached to time off requests in the public time off overview. This gives authorized reviewers more context without exposing sensitive details to regular users.
Original PR description
Before this commit, the time off request description about leave was not available on public time off overview. This commit adds time off description about leave is available on time off overview. This description only visible to user with manager and above access of hr_holidays module. task-3644177
This update removes recurring code quality warnings across portal, website editing, routing, and blog-related areas. It reduces developer friction and helps prevent small code cleanup issues from blocking future changes, with no expected change to business workflows.
Original PR description
*: http_routing, website_blog Let's clean the linter error once and for all: - It's really annoying to have the linter yelling when opening a file - It's bad because people do copy paste code lines, ultimatelly copying linter errors - For unused imports, it's a real problem as when you touch a line next to it or remove one element from the line, it raises a `ci-style` on the line/element you did not even touch. You then have to either bypass the `ci-style` or remove the unused import which is not related to your diff.
Project task reporting views were reorganized so field visibility can be managed more cleanly across related apps. This helps ensure field service reports show the right information when timesheet and sales timesheet features are installed together.
Original PR description
*=hr_timesheet,sale_timesheet This PR refactors the reporting views for project tasks to allow hiding the remaining_hours_so field in the fsm reporting views when we install sale_timesheet. Task-3573609
Report popovers now appear to the side instead of covering report content, making information easier to read while working in accounting reports. Text wrapping was also adjusted so words stay intact and popover content is clearer, including carryover details.
Original PR description
The text words were wrap when end of line, they shouldn't. The popover appear in front of the rapport and hide the content, I moved the popover on the right and change the way the words are wrapped. Same for the carryover popover. task id : 3792849
Field service reporting views were reorganized so sales-related time fields can be shown or hidden more cleanly when timesheet sales features are installed. This helps keep reports focused and avoids showing fields that may not be relevant in certain setups.
Original PR description
This PR refactors the reporting views for fsm tasks to allow hiding the remaining_hours_so field in the fsm reporting views when we install sale_timesheet. Task-3573609
Planning reports now hide technical fields that are not useful for day-to-day users. This keeps graph and pivot views easier to read and helps teams focus on meaningful planning measures.
Original PR description
Those technical fields do not need to be displayed to the user. task-3857314
This update adds test coverage for the scheduling flow when an employee has no email address. It helps ensure the warning wizard appears correctly, reducing the chance of publishing issues going unnoticed.
Original PR description
In this commit: - Add a js test for the the wizard raised when an employee doesn't have an email task-3661099
Less commonly used invoicing, tax, and reporting fields are now shown only in debug mode. This keeps day-to-day configuration screens simpler and easier to read while preserving advanced options for users who need them.
Original PR description
*: account_intrastat, sale_subscription This commit aims at improving readability by moving some less used fields to the debug mode Community PR: https://github.com/odoo/odoo/pull/152869 task-3642419