Monday, November 6, 2023
33 changes · 17.0
Resolved issues and error corrections
Creating a server action for webhook notifications without selecting a model no longer triggers an error. This helps users configure automations more smoothly and corrects the sample payload field naming shown for webhooks.
Original PR description
**Description of the issue/feature this PR addresses:** Fix _compute_webhook_sample_payload. **Current behavior before PR:** Create a new Server Action.Leave the model empty, change type to 'Send Webhook Notification', an error raised <img width="824" alt="image" src="https://github.com/odoo/odoo/assets/5561864/90fb78b8-eb24-4bb1-9d5a-e0e6593bad3b"> **Desired behavior after PR is merged:** Stop raise the error, also the 'id' should be '_id' --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update restores a missing mail service connection needed by the web mail component. It helps prevent failures when opening or interacting with message threads, improving reliability for users who depend on Odoo conversations.
Website editors can now edit links even when the linked page returns an error or is unreachable. Instead of showing an error, Odoo displays a simpler link popover without extra preview details such as the page title or favicon.
Original PR description
Since commit [1] removed `legacyRejectPromiseHandler()`, trying to edit a link leading to an HTTP error triggers an "Uncaught Promise" error. This commit makes sure such links do not cause a traceback: the link popover is just less detailed (no title, favicon). [1]: https://github.com/odoo/odoo/commit/fcb16a3b1bd373726ffb54f0fbe41fb6d1784769 task-3584686
This fixes an issue where newly created website shop categories could appear without their proper display name. It helps staff manage online store categories more reliably and avoids confusing labels in the website sales setup.
Original PR description
task-3582238
The website blog navigation now lines up correctly with the rest of the page layout. This creates a cleaner, more consistent browsing experience for visitors and fixes a visual issue in the portal and blog styling.
Original PR description
Extracted from https://github.com/odoo/odoo/pull/120302#discussion_r1346173626 Prior to this commit, the navigation of `website_blog` wasn't correctly aligned. This commit reworks the alignment to match the page layout. task-3097005
The accounting dashboard’s menu has been simplified by removing unclear options and showing certain journal actions only when they apply to the bank feed setup. This helps users find relevant actions faster and reduces confusion when managing accounting journals.
Original PR description
1. Remove some options from the burger menu to make it more clear. 2. Make some actions on the journal's dashboard card conditional on the Bank Feed type. task-id: 3573286
Fixes an issue where inserting analytic items into a spreadsheet could show errors in the header row. This helps accounting users export and review analytic data in spreadsheets without confusing or broken column labels.
Original PR description
How to reproduce: * Install Accounting and Documents * Accounting > Configuration > Settings > check Analytic Accounting * Accounting > Accounting > Analytic Items * Cogs > Spreadsheet > Insert List Issue: The header in the spreadsheet displays errors.
Reception screens now hide the source package column, which was not relevant for incoming deliveries. This reduces visual clutter and helps warehouse users focus on the information they need when receiving goods.
Original PR description
source package shouldn't be visible in reception --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The skills section now shows text alongside the report icon, making it easier for users to understand what the link does. This reduces confusion when opening employee skills reports.
Original PR description
Prior, there was only icon and it was not clear enough. 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 fixes an issue in the website editor where saved snippets could lose their mobile or desktop visibility settings when reused. Users can now drop saved snippets without unintentionally showing content that was meant to stay hidden on specific devices.
Original PR description
Since [1] when device visibility became a visibility option, when dropping a snippet that contains device-invisible blocks, all those blocks were made visible. This commit makes that behavior limited to blocks that are not device-invisible. (E.g. when dropping a popup) Steps to reproduce: - drop a Columns snippet - hide a column on mobile - hide a column on desktop - save snippet - drop saved snippet in either desktop or mobile preview => All columns were shown with the `o_snippet_override_invisible` effect on the conditional ones. [1]: https://github.com/odoo/odoo/commit/3103e0553011b5c1f4078972d7a88fa3fd4068b2 task-3538535
Fixes an issue in the Website app where URL suggestions could be hidden behind the Add Menu Item dialog. This makes editing website menus smoother by ensuring users can see and select autocomplete suggestions as intended.
Original PR description
Since this fix[1] of the overlapping. The `UrlAutocomplete` wasn't working as expected, The `AutoCompleteWithPage` dropdown are displayed behind the dialog when it was inside a dialog. Steps to reproduce: * Open the `Website` app * Click on `Site` > `Edit Menu` > `Add Menu Item` * Start to type in the url field, the dropdown is displayed behind the dialog. => bug Link [1]: https://github.com/odoo/odoo/commit/9682cfa174fb39ec9d9874951ea9ee2884058d96
Opening a message thread no longer briefly jumps or flickers while messages and the saved scroll position load. This improves the user experience in Odoo Discuss and other mail-based conversations by making thread display feel steadier and more polished.
Original PR description
The `onWillStart` hook that was used in the thread component but was replaced by the `onMounted` hook. Indeed, fetching the messages in the `onWillStart` hook was leading to an infinite loop (props updated as a side-effect of the `onWillStart` hook). After messages are loaded, the scroll position of the thread is restored. Since this is done after the component is mounted, another render is triggered and results in a flicker when opening the thread. This commit fixes this issue by waiting for the thread to be mounted and for the scroll position to be restored before showing the message list. Before:  After: 
Imported modules that include their own icon now load that icon from the stored attachment instead of looking for a missing file on the server. This prevents an error during module import and makes the import process more reliable for administrators.
Original PR description
With normal module, the icon is always loaded from the filesystem but when importing a module that contains a module icon (by default in static/description/icon.png) it crash with a `FileNotFound` exceptions because the image is not available on the filesystem but as an ir.attachment. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a manufacturing order status display issue when generating serial numbers for finished products. Orders with all required components reserved now continue to show as ready to produce, avoiding unnecessary confusion for production teams.
Original PR description
To reproduce: - Set tracking mode on Table Leg to no tracking and add 100 to inventory - Create MO for table with quantity more than one and confirm - Click the "+" button to generate a serial Current behavior: The reservation state of the MO goes to "available" in orange, indicating its components are not all assigned. Expected behavior: The reservation state of the MO stays "available" in green, indicating the MO has all of its components assigned and is ready to produce. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change separates how imported module dependencies are collected from how they are displayed. It helps Odoo reuse the dependency list more reliably in SaaS-related flows while keeping the user-facing behavior unchanged.
Original PR description
Since we need to get the list of dependencies for the saas (and not noly a Text of the module names, we split the function to be able to easily get the list of dependencies. 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
Forum user avatars now display with the correct proportions instead of appearing stretched when the original image is not square. The avatar image quality was also improved, making forum pages look cleaner and more professional.
Original PR description
This PR allows avatars that would not be squared to be rendered with a correct aspect ratio inside Forum. Before these changes, if the user avatar was not uploaded in a squared size, it would be stretched while being rendered inside the forum UI. To solve this issue, we simply add the `o_object_fit_cover` class to these avatars, ensuring they are well rendered. We also changed the resolution to 128x128, to provide a better render. task-358013
The search bar now keeps its icons and text properly aligned when users hover over filter chips, even when Discuss is not installed. A shared background style was moved into the core web interface so the behavior is consistent across setups.
Original PR description
When discuss is not installed, hovering a facet in the searchbar makes the cog overlap the icon/text. This is due to the `o-bg-inherit` class which is set in the mail module. Therefore if discuss is not installed, the SCSS for the background doesn't exist. This commit moves the `o-bg-inherit` as a new utility class `bg-inherit`, allowing it to be used even if no apps are installed. Therefore this commit also renames the occurences of `o-bg-inherit` into `bg-inherit`. task-3575837  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A portal alert link shown when customers preview quotations or invoices now uses the proper alert styling. This keeps the link color consistent with the message and avoids a distracting purple link in the customer portal.
Original PR description
When previewing a quotation or an invoice from a customer, an alert is displayed in the portal to go back to edit mode. The color of this link was previously using primary because it was missing the `alert-link` class. The primary being purple in the base theme since the frontend redesign it became more noticeable. task-3553146 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The point of sale combo configurator now presents items in a cleaner, more consistent layout. This makes product selection during checkout easier to read and more aligned with the rest of the interface.
Original PR description
This commit reviews the UI of articles in `ComboConfiguratorPopup` to maintain consistency with the rest of the layout. task-3582072 | Before | After | |--------|--------| |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an internal automated test issue caused by a moved event registration desk menu. It helps keep nightly checks reliable and reduces noisy test logs without changing normal user workflows.
Original PR description
In f0b7838f the event_barcode was moved from enterprise to community, so the menu for the registration desk changed. As this menu was blacklisted in the clickbot, it started to fail in the nightly tests. While at it: * remove useless and noisy log * log when a menu is skipped instead of telling that it was tested
This fix prevents errors when setting employee homeworking locations on servers using non-English language settings. The system now identifies weekdays reliably, so location updates work consistently regardless of server locale.
Original PR description
After the rework of hr_homeworking, a traceback started occurring if the odoo server was running in an environment with a different locale. Since `.strftime("%A")` is a localized method, it wouldn't return the week name in english. This would cause a traceback because we would try to access fields that don't exist (e.g. jeudi_location_id). This commit changes the approach to get the weekday number and uses an array to access the correct field name.
task-3581762
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-prThe Settings page on small screens now shows the active tab with clearer text contrast. This makes the interface easier to read and avoids a confusing visual mismatch for mobile users.
Original PR description
This PR fixes a contrast and readability issue on the active tab within Settings on small devices. Prior to this commit, an active tab on mobile view would use a primary background, while nothing would be declared for its text color. This would cause readability issue, with a dark text on a primary background. To avoid this kind of issue, we set a `text-bg-primary` class to our button to ensure it gets readable, and also set a `shadow-none` to prevent the `tip` of the tab to appear in mobile, since it would use another color. | 17.0 | This PR | |--------|--------| |  |  | task-3580676
The web test automation component now fully stops all background monitoring, including activity inside embedded frames. This prevents automated test runs from ending too early, helping ensure all relevant tests are executed and results are reliable.
Original PR description
The MacroEngine has a stop function that allows to completely disable it. Before this commit, it correctly disconnected the "main" mutation observer, but it didn't disconnect the mutation observer for iframes. In web_tour tests, we mock the MacroEngine to stop it at the end of tests, but this didn't stop the iframe mutation observer. This had an highly undesirable side-effect in tests: the qunit suite stopped during mass_mailing tests, because the iframe mutation observer detected a change which produced the log of "test successful", which ended the whole suite. Some tests were thus never run anymore (fortunately, we're only talking about a few qunit modules).
The Stock app now shows the parent location dropdown at the normal field text size instead of inheriting the oversized heading style. This makes the location form easier to read and keeps the interface visually consistent.
Original PR description
As the parent location in the location form is in an h2 tag, the dropdown was also using the h2 font size. It should not 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 update simplifies the accounting dashboard by removing unnecessary menu options and making certain actions appear only when relevant to your bank feed type. This makes the dashboard cleaner and easier to navigate by showing only the options you actually need.
Original PR description
…ounting dashboard - burger menu cleanup 1. Remove some options from the burger menu to make it more clear. 2. Make some actions on the journal's dashboard card conditional on the Bank Feed type. task-id: 3573286
This update fixes a bug where automated tests were failing when run in months other than October due to hardcoded dates. The fix ensures tests work reliably regardless of the current month. Additionally, unnecessary logging has been removed to reduce log file sizes and improve performance.
Original PR description
This commit, fix the issue that some tests fails on other month than October, this occurs because the current date wasn't patched on the tests. Moreover, this commit removes the log "Clicking on: Control Panel menu", this log is not very important, and can increase significantly the size of the log.# with '#' will be ignored, and an empty message aborts the commit. Forward-Port-Of: odoo/enterprise#49988
This update fixes a visual spacing issue in the Frontdesk module where drink titles were appearing too close to their images in the kanban view. While not noticeable with the current white background images, this fix ensures proper spacing will display correctly if image backgrounds change in the future.
Original PR description
This PR adds a missing space between the image and its title in the kanban view of Frontdesk. Prior to this commit, the title of a drink within the kanban view of frontdesk had no spacing. This was not especially visible since the default images are using a white background, but this would become an issue as soon as the image stop having a white or transparent background. To prevent this unexpected renderer, we simply add a `ms-2` class to our title, ensuring it will always be spaced correctly. task-3580511 | 17.0 | 17.0-frontdesk-add-missing-spacing-chgo | | ------------- | ------------- | | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/df215d03-0ddd-4a07-ab3d-84dc01b47093"> | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/6ef253b6-af05-4319-8ba2-8659a4dbf4d8"> |
This fix restores the correct height of grouped total rows in the Gantt chart view, which had been inadvertently changed by a previous update. The adjustment ensures that grouped totals display properly and maintain their intended appearance in the scheduling interface.
Original PR description
This commit brings the height of grouped totals rows back to their original value before it was wrongly modified by https://github.com/odoo/enterprise/pull/47981 task-3558040
A configuration button next to report filters was not fully clickable - only the icon was responsive while the surrounding background was not. This fix makes the entire button area clickable, improving usability when accessing report configuration settings.
Original PR description
In this commit: https://github.com/odoo/enterprise/pull/50142/commits/1df7c45a2f56a70ae7d1d4aa90f9d0aa1a34cd36 We added a button next to the filters that will redirect to the configuration page of the report. The problem was that only the cogs was clickable and not the surrounding background.
This fix resolves an issue where LinkedIn demo posts were being logged twice in the activity feed. The problem was caused by the post status being updated in two different places, triggering duplicate logging. By removing the redundant status update, posts now log correctly only once.
Original PR description
**Before this PR:** When a user tries to post a new post with demo data of LinkedIn, the chatter is also logged twice. **Reason:** The state is updated twice (in the _post_linkedin and _post_demo methods) and due to that, the _check_post_completion method is called twice. We have solved this issue by removing the state update in the _post_linkedin method. **After this PR:** The Chatter will be only logged once. **Task**-3459739 Forward-Port-Of: odoo/enterprise#49047
This update fixes visual alignment issues in the Knowledge sidebar where buttons had inconsistent spacing and weren't properly aligned with other sidebar elements. The fix ensures all buttons use consistent styling and are properly aligned to the left, improving the overall appearance and usability of the Knowledge interface.
Original PR description
This commit fixes two alignment issues in the Knowledge sidebar. > Buttons with the same design having different styling to space the icon from the text ; > Buttons not being aligned with the rest of the sidebar element to the left. To fix these issues, we adapt our two buttons to make them use the same styling. We also have to adapt a bit the overall styling of the sidebar to allow our buttons to be correctly aligned to the left. task-3582600
This update fixes a technical issue in the Google Calendar integration where user names were losing their formatting when being processed. The system was converting formatted text to plain text, which could affect how user information displays in calendar appointments. This fix ensures the formatting is properly maintained throughout the process.
Original PR description
Doing `''.join(Markup)` converts to string
This update corrects the server address URL used by the Belgian CodaBox integration to follow proper URL formatting standards by removing underscores. This ensures the integration works correctly with the IAP (In-App Purchase) service and maintains compatibility with web standards.
Original PR description
URL should avoid _ in them, so the url was changed