Tuesday, November 7, 2023
18 changes · 17.0
Resolved issues and error corrections
The module import process now retrieves industry app categories from Odoo's apps service so industry apps can be categorized correctly. This helps users see more accurate filtering and organization for industry-specific apps.
Original PR description
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
The Add a To-Do shortcut is available again from the command palette. This restores a quick way for users to create to-dos after it was unintentionally removed when the systray action changed.
Original PR description
Task 3300854 would remove the "add a to-do" action in the systray, but by doing so, it removed the action in the command palette as well. This PR will re-add the action in the command palette. The ActivityMenu component is patched to call "useCommand" and add the command to the command palette each time it is loaded. task-3580533
Manufacturing orders now show a single forecast option instead of duplicate buttons. The remaining forecast widget provides the same access with more useful information, reducing clutter for users.
Original PR description
It's duplicated. It is set once in the view directly as a button and the other instance is in the forecast widget. Keep the one in forecast widget since it can be optional that way and provide more inforamtion 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 fixes a compatibility issue affecting Odoo's core base functionality when running on Python 3.11. It helps prevent errors caused by newly introduced Python behavior, improving reliability for deployments using this Python version.
Original PR description
Complement of the previous complement e2752a04ff (#137099) Those opcodes were added in Python 3.11 and we missed them. Fixes #140588
Product catalog entries once again show a colored background when they have quantities or are read-only. This restores an important visual cue so users can more easily spot relevant or unavailable catalog items while working with products.
Original PR description
Before odoo/odoo#135502, the background of a record was colored if it has some quantities or if it is read only, but this detail was lost. This commit fixes that. Enterprise PR: odoo/enterprise#49808
This fix ensures older activity pop-up windows move behind the fullscreen email editor when users are editing marketing content. It prevents overlapping screens, making template editing clearer and reducing confusion during campaign setup.
Original PR description
Steps to reproduce ================== 1. Open marketing automation and select any campaign. 2. Click 'edit' on activity or click 'add new activity'. 3. Select existing mail template and open it to edit the template. 4. Select template on mail body page and click fullscreen from snippet. The activity modal dialog appear at top of everything. Technical ========= In prior version, the 'owl_dialog.js' file includes a 'display' function that applies the 'o_inactive_modal' class to the inactive dialog, adjusting its z-index. However in master, the commit https://github.com/odoo/odoo/commit/036307ba260ef1a08e80a14f7cffe1ef9a24021c removes the'owl_dialog.js' file, resulting in the class no longer being applied. After this PR ================= The 'o_inactive_modal' class is applied based on the state 'data' to position the dialog below the fullscreen editor. Task-3512850
The manufacturing forecast is no longer shown for production orders that are already done or cancelled. This avoids displaying information that is no longer useful and helps users focus only on active production planning.
Original PR description
There's no point in showing the forecast for done or cancelled production orders. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A technical stock configuration field is no longer shown because it is automatically calculated and cannot be edited. This keeps the stock settings screen cleaner while preserving compatibility for existing customizations that still reference the field.
Original PR description
The field is now readonly and computed, so there's no reason to show it. It's still present since it is used in at least one xpath. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Employees app now opens the skill creation flow correctly when no skills have been defined yet. This prevents an error popup and lets HR users add skills from the empty-state prompt without interruption.
Original PR description
Description of the issue/feature this PR addresses: This PR fix issue #140859 Current behavior before PR: Visit Employee page when there is no Skills defined There will be message "There are no skills defined in the libray. Why not try adding some ?" Try click "Create new Skills" There will be an error popup Desired behavior after PR is merged: There won't be no error popup The error is caused by the mis-naming field in https://github.com/odoo/odoo/blob/17.0/addons/hr_skills/static/src/fields/skills_one2many/skills_one2many.js this.actionService should all be replaced to just this.action --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo Discuss now determines whether someone is sharing audio or video using explicit activity status flags instead of checking for duplicated or present streams. This makes call status handling more reliable and prepares the system for future call infrastructure improvements that keep connections stable for longer.
Original PR description
Before this commit, we used to rely on duplicates of streams and the presence of streams to know if a session was streaming. This commit changes this and make it so that we now use streaming activity flags instead. This is a prerequisite for https://github.com/odoo/odoo/pull/132153 as, similarly to webRTC "unified plan", the SFU keeps the same streams for the whole lifespan of a connection.
This fix removes an incorrect warning message that was appearing when users tried to share appointment meetings, even when they were already part of the meeting. The issue was caused by typos in the code that prevented proper validation of user participation. After this fix, users will no longer see the warning if they are already part of the appointment.
Original PR description
Steps to Reproduce =================== - Open appointment in which your are part of that. - Try to share the interview meeting. - Warning will be there even if a user is part of that meeting. Technical ========== Due to some typos here https://github.com/odoo/enterprise/commit/d1e75bf651ba06ce065afa8e6ca18e6b25e2dfce After this pr ================== There will be no warning if the user is a part of it. Task-3487715
This update adapts automated tests in the accounting and web studio modules to work with recent changes to the web framework's command system. The changes replace outdated test commands and fix a timing issue in bank reconciliation tests to ensure tax calculations complete before validation, improving test reliability.
This update fixes the visual layout of the favorite widget in the Frontdesk kanban view. The widget now appears in the correct position at the top of cards alongside the title, rather than below it, and the card spacing has been improved for better visual balance.
Original PR description
This commit fixes the position of the favorite widget within the kanban view of Frontdesk. Prior to this commit, the filter was added after the title, which would displays it under the title. To fix the issue, we place it before the title, as we do in Project, and add some flex classes to handle that layout. We also removed some `padding` classes to provide a better visual alignment between the left and right side of our cards. task-3582084 | 17.0 | 17.0-fix-frontdesk-favorite-position-kanban-chgo | | ------------- | ------------- | | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/0d1ba064-0fbf-432f-8d94-4e6e8ea9dcf7"> | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/1166c628-71da-404c-bbd8-44e63ae55e2a"> |
This update fixes several display issues in the Frontdesk module to improve the user experience. The changes adjust text sizing on large screens, ensure the footer stays visible while scrolling through products, and make the product grid adapt better to different numbers of items. These improvements make the interface more polished and easier to use.
Original PR description
This commit address several UI issues: - Adjust base font-size on xxl screens - DrinkPage component: ensure that the footer is fixed and that the scrollbar is applied on the products grid. - DrinkPage component: introducing grid's column adaptations according to the number of products rendered on screen. task-3581651
A typo in the custom CSS class name for the Aged Payable and Receivable reports has been corrected. This fix ensures the styling displays correctly for these financial reports, improving the visual presentation and user experience when viewing aged partner balance information.
This update fixes several testing issues in the appointment and knowledge modules. The changes remove unnecessary test artifacts and update test methods to work with the latest code, ensuring tests run more reliably and accurately reflect real-world scenarios.
Original PR description
Community PR: https://github.com/odoo/odoo/pull/138062 Tests were run with the link zws in the way, which in real-life circumstances would have been cleaned away. This commit removes the zws for testing purposes. Forward-Port-Of: odoo/enterprise#50120 Forward-Port-Of: odoo/enterprise#49602
This update corrects a typo in the account reports PDF export feature that was preventing analytic plans from displaying correctly in the export filters. The fix removes outdated code references and ensures the proper configuration key is used, improving the reliability of PDF report generation with analytic data.
Original PR description
Fixes a typo in the key used to show analytic plans in the PDF export filters. Forward-Port-Of: odoo/enterprise#50011 Forward-Port-Of: odoo/enterprise#48232
This update removes an outdated workaround from the accounting reports PDF templates that is no longer needed. The system now automatically handles which filter options appear on printed reports, eliminating the need for special configuration. This cleanup makes the code simpler and easier to maintain.
Original PR description
'closing_entry' option key was introduced in l10n_be in order to bypass the display of some options on the pdf stored in attachment of the tax closing entry. It is not needed anymore in account_reports in 17.0, because of the split between pdf and UI templates: the pdf templates' extra_options template only displays information when its options are explicitly set to a value. For example if only posted entries are displayed in the report; it's not written on the pdf ; only the fact of showing draft entries is mentioned when printing. Therefore, the pdf attached to the tax closing moves never shows any of these filters anyway.