Thursday, November 2, 2023
19 changes · 17.0
Resolved issues and error corrections
The Point of Sale category selector now displays more consistently across browsers such as Firefox and Safari. Category images are constrained and hidden when space is limited, reducing layout issues for cashiers using smaller or resized screens.
Original PR description
This commit fixes the issues related to the category selector. The issues are very obvious when switching browser (e.g. Firefox or Safari). The width of the container containing the category image…
This commit fixes the issues related to the category selector. The issues are very obvious when switching browser (e.g. Firefox or Safari). The width of the container containing the category image thinks that its width should be the original width of the contained image. This is a quick fix which sets a max-width of 100px on the container (which is approximately 75% of the image width matching the 75% height set on the image). Additionally, we hide the image when the category panel becomes to thin. **BEFORE**    **AFTER**   
This update corrects how live call sessions are counted in Discuss. It prevents duplicate notification sounds from playing in situations such as starting a meeting, making the calling experience smoother for users.
Original PR description
**Current behavior before PR:** The logic used to count the number of RTC Sessions was incorrect. Which led to multiple sounds being played sometimes. Etc, on start a meeting **Desired behavior after PR is merged:** Corrected the RTC Sessions counting logic. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents web push notifications from being sent for muted discussion channels. It helps ensure user notification preferences are respected and reduces unwanted interruptions.
Original PR description
Do not send the web_push notificaiton if the channel is muted. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes documentation for a field configuration option that is no longer supported. It helps avoid confusion for developers and implementation teams while keeping internal compatibility needed for migrations.
Original PR description
Since https://github.com/odoo/odoo/pull/104741, `Field.states` is no longer supported, remove this attribute and the documentation associated.
The web install prompt now appears in the correct position on iOS devices instead of being partially off-screen. This makes the app installation experience clearer and easier for mobile users.
Original PR description
Before this commit, the install prompt was half shifted out of screen. After this commit, the install prompt is not shifted anymore. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents payroll-related upgrade tests from failing when some leave records are missing start or end request dates. It safely skips incomplete records during date calculations, improving reliability without changing normal user workflows.
Original PR description
We need to filter out records without `request_date_from` and `request_date_to` to avoid the error:
```
File "/tmp/tmpiaelju95/odoo/17.0/addons/hr_work_entry_holidays/models/hr_leave.py", line 180, in write
stop = datetime.combine(max(stop_dates) + relativedelta(days=1), time.max)
TypeError: '>' not supported between instances of 'datetime.date' and 'bool'
```
Issue observed in test upgrades of `l10n_hk_hr_payroll`
```tests
upgrade 17.0: l10n_hk_hr_payroll
```This fix adjusts employee presence status icons so they no longer appear oversized in views such as kanban cards. It reduces visual clutter and makes employee cards easier to read without changing the underlying presence information.
Original PR description
This PR adjusts the size of the icons used for the employee presence status. Prior to this PR, these icons were using a rule to define if they should be diplayed in large or not, by checking the html tag of the element they are in. These icons were also styled with custom CSS to adjust their size, while classes like `fa-lg` could eventually provide a workaround. This approach was causing issues especially in kanban cards, were these icons would appear massive and cause visual cluttering. To improve the render of these inside cards, we simply remove the custom styling applied to these icons. | 17.0 | 17.0-fix-presence-status-icon-size-chgo | | ------------- | ------------- | | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/53a380d0-10af-495a-9008-1e80c0bd0119"> | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/6402d4d9-4552-4c51-b2fc-8af3b01d456c"> task-3573702
A link in the employee skills area now gives clear visual feedback when users hover over it. This small accessibility fix helps users recognize clickable actions more easily and reduces confusion.
Original PR description
This commit fixes an accessibility issue about a link which does not provide any visual feedback to the user who would hover it. Prior to this commit, this link did not provide any visual feedback, due to the lack of `cursor-pointer` BS class or `btn-link` styling. The easiest way to fix this is to add a `cursor-pointer` class to the link. We could have turned the link into a button with `btn btn-link` classes but this would requires more layout and design adjustments. task-3573737
The website editor now automatically disables live preview for options that require a page reload. This prevents an unexpected error message when users adjust settings such as mobile alignment in the website header.
Original PR description
This commit resolves the issue that arises when a widget contains a reload attribute but lacks a no-preview attribute. The bug leads to an "Uncaught Promise" error. With this update, when a reload attribute is detected, the no-preview attribute is now automatically added, preventing the error from occurring. The problem arisen with [this other commit]. [this other commit]: https://github.com/odoo/odoo/commit/fcb16a3b1bd373726ffb54f0fbe41fb6d1784769 task-3572334
The mail chatter now avoids refreshing its data on every form change, especially when the record has not been saved. This reduces unnecessary background requests and should make form navigation and editing feel smoother without changing user workflows.
Original PR description
This RPC /mail/thread/data is called on every form view change, even when not saved. It comes from the chatter onWillUpdateProps and calling `load` then `fetchData` We don't want to reload chatter when every time props updates. Do it when the record `onWillLoadRoot` Task: 3569123 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error when users generate serial numbers from a repair order. By ensuring the needed destination location is available, the repair workflow can continue without an unexpected interruption.
Original PR description
Main changes :
Force context values to avoid traceback in action_generate_lot_line_vals
Before :
When calling action_generate_lot_line_vals from a repair order, a traceback occurs due to the missing 'default_location_dest_id' in the context.
After :
We enforce 'default_location_dest_id' in the repair order form to ensure it is available when we call action_generate_lot_line_vals
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update fixes an issue where completed activity dates could appear as “Invalid date” in the activity popover. It also strengthens automated checks so activity views update correctly when activities are completed, helping prevent regressions in day-to-day task tracking.
Original PR description
[IMP] mail: add/modify activity client tests We add a test that checks the rendering of the activity view and the activity popover with activities done. We also add a test that marks as done an activity and verify that the activity view is updated accordingly. And we do a correction in the test "activity menu widget: activity menu with 2 models" (assert.ok(selectContaining... was always true as an array is always returned and [] is true in javascript). [FIX] mail: fix invalid date done in the activity list popover Date done field was in camel case instead of snake case leading to undefined value and "Invalid date" in the interface. Task-3558929
Favorite star icons now line up more consistently across several Odoo kanban views, including accounting, recruitment, projects, lunch, and manufacturing. This improves visual polish and keeps the favorite marker clearly visible without custom layout workarounds.
Original PR description
*: account, hr_recruitment, project, lunch, mrp PR https://github.com/odoo/odoo/pull/130702 fixes a few issues encountered with the favorite icon that can be found in some kanban and list views. However the alignment is still off. In previous backend designs, custom CSS had been added to allow the cards in the Project's kanban view to appear/disappear on hovering the card, thus needing an absolute positioning on the icon. By removing the absolute positioning and allowing `.o_favorite` to align itself naturally within the content, we allow ourselves to remove a whole lot of custom CSS and give a better visual result to the star's alignment. The margin on the kanban heading in the Manufacturing Orders has been removed to realign the top elements. task-3462098 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale now stops automatically applying a default pricelist when flexible pricelists are turned off. This prevents unnecessary pricing settings from being loaded in POS sessions and keeps configuration behavior aligned with the merchant’s selected options.
Original PR description
Pricelist is no longer required. Because of that, pos no longer need to implicitly load a default pricelist when "Flexible Pricelists" (use_pricelist) flag is active. Therefore, when deactivating the option, we clear the value of pos.config.pricelist_id. We also make sure that during loading of data when opening a session, default_pricelist is not set if use_pricelist is false. Also note that we are not clearing available_pricelist_ids because of some limitation in the synchronization between res.config.settings and pos.config. It's okay to keep the links because it won't be loaded when use_pricelist is false. Also, it's nice to see it filled when reactivating the flag.
The Point of Sale product selection screen now shows the search button with the correct styling on mobile and responsive views. This makes the interface clearer and easier to use for staff working from smaller devices.
Original PR description
**not proper search button style** Impacted versions: - 17.0 Steps to reproduce: 1. Open pos product selection page in mobile or in responsive device Current behavior: - not proper button style (attached screenshot) Expected behavior: - make proper button style Video/Screenshot link (optional):  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a display issue where forum posts shared from helpdesk tickets were missing a space between the post name and the forum post indicator. When users share a helpdesk ticket to a forum and view the post, the text now displays correctly with proper spacing in the ticket's activity log.
Original PR description
Steps: - In helpdesk ticket click on share on forum - click on create and view post - it will redirect to website - click back and see the chatter of the helpdesk ticket Issue: - missing space between name of the post and forum post created Fix: - we have added a space from the place where the message is posted task-3463622 Forward-Port-Of: odoo/enterprise#46224
A test in the Web Studio module was failing after October due to a hardcoded month value in the test code. This fix temporarily disables the problematic test to prevent system failures, with plans to properly refactor it later.
Original PR description
The web_studio clickbot qunit test fails after October because of a hard coded month. It needs to be refactored but let's skip it in emergency. Forward-Port-Of: odoo/enterprise#49983
A technical issue was preventing account reports from properly saving configuration options due to incompatible data format. The team resolved this by removing an unused option that was causing the problem, ensuring reports function smoothly without affecting any user-facing features.
Original PR description
A bug was caused by trying to converting the options that contained a set into json. We fix it by removing the option that used the set as it doesn't seem to be used anymore.
This fix reorganizes the timesheet menu structure to give timesheet managers access to the tips menu, which was previously unavailable to them. This improves manager capabilities by allowing them to view helpful tips and guidance within the timesheet application.
Original PR description
This PR changes the timesheets menuitems order and groups so that the tips menu is available to timesheets managers, which was not the case before. task-3579920