Thursday, February 22, 2024
7 changes · saas-17.1
Resolved issues and error corrections
**Current behavior:** Terms which have translations defined in .po files do not get translated if they are from the din5008_sale module. **Expected behavior:** Terms which have mapped translations will be translated. **Steps to reproduce:** 1. Install the din5008_sale module, set the din5008 template to be used in for quotations 2. Change a company's language to German 3. Generate a Quotation PDF and observe that some terms are not translated **Cause of the issue:** The .pot f
Original PR description
**Current behavior:** Terms which have translations defined in .po files do not get translated if they are from the din5008_sale module. **Expected behavior:** Terms which have mapped translations will be translated. **Steps to reproduce:** 1. Install the din5008_sale module, set the din5008 template to be used in for quotations 2. Change a company's language to German 3. Generate a Quotation PDF and observe that some terms are not translated **Cause of the issue:** The .pot file for this module and some of the .po files are missing the '#. odoo-python' comment which the filter function defined in the _load_python_translations() method expects -> function returns false instead of the translated value. **Fix:** Add the comment where it need be added. opw-3740412
This fix prevents VoIP from crashing when a user transfers a call to another device. It ensures the system reads the right configuration after recent settings changes, improving call reliability for affected users.
Original PR description
The forward-port of #54535 neglected to adapt the code it introduced to the move of settings to its own model. Because of this oversight, this.settings is undefined, and this.settings.external_device_number would crash. This commit adapts the code to properly retrieve the config, and adds a test to make sure this never happens again. opw-3743892
This update fixes a visual glitch in the ecommerce category scrollbar on recent Chrome browsers and ensures consistent styling across Odoo. It also addresses an issue where the scrollbar was obscured on touchscreens and ensures proper display on various devices.
Original PR description
In commit https://github.com/odoo/odoo/commit/bdede43e1ea4587185a9f37f051cee87a61cf488 an improvement was made to increase the scrollbar height on hover to make it easier to scroll. However chromium…
In commit https://github.com/odoo/odoo/commit/bdede43e1ea4587185a9f37f051cee87a61cf488 an improvement was made to increase the scrollbar height on hover to make it easier to scroll. However chromium updated the way ::webkit-scrollbar works breaking the behavior on recent browser. On firefox the margin was applied without the change of height on the scrollbar creating a visual glitch on hover. On chromium >121 the `scrollbar` property takes priority over the `::webkit`-x to keep the scrollbar styling with height change on webkit browser we have to apply the `scrollbar` property only on Firefox. The mixin was used only on `website_sale` filter offcanvas and category horizontal scrollbar, this commit removes the mixin and customization on the offcanvas vertical scroll to make it consistent with the other offcanvas across website. This PR also disables the scrollbar hover effect on touchscreens. The transform was causing an issue on some devices displaying the scrollbar behind the items, thus it's now applied on the container. Note: We use not `.o_wsale_filmstip_fancy_disabled` to avoid the `scrollbar` property being set when the Javascript is not loaded yet. Otherwise the scrollbar would be invisible until a hover from the user. task-3718501 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#152456
This update fixes an issue where large numbers (formatted with commas) were being incorrectly parsed when sharing data via Odoo's spreadsheet feature. Previously, the share link would display the number in a simplified format. Now, the share link exports the raw, formatted value, ensuring accurate sharing of amounts, especially those with thousands or millions.
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 Forward-Port-Of: odoo/odoo#154712 Forward-Port-Of: odoo/odoo#153704
This update resolves an issue where dropdown menus within the Odoo Studio editor wouldn't close when the toolbar was clicked. The fix addresses a technical limitation with the iframe environment, ensuring that clicks outside the editor now properly close dropdowns. This improves the user experience when working with reports and documents in Studio.
Original PR description
Steps to reproduce: =================== - Open any app (sales for example) - Toggle studio - select reports tab - Select any report - Select some text and open any dropdown (font size or color) - Click somewhere else on the document - Select some text again - The dropdown stayed open from the first select Origin of the issue: ==================== Clicking somewhere on the document in studio doesn't trigger the events `defined in bootstrap/js/dist/dropdown.js` because of the iframe. Solution: ========= Trigger click event on toggle button for the opened dropdown when hiding the toolbar to close them task-3674736 Forward-Port-Of: odoo/odoo#152681
This update fixes a bug where articles were incorrectly flagged as needing to be saved, leading to frequent and unwanted autosaves. The fix removes irrelevant information (history IDs) from the comparison process, ensuring autosaves only occur when actual content changes are made. This improves performance and user experience.
Original PR description
Issue: Articles were erroneously marked as changed, leading to unnecessary autosaves. Part of this was caused by the inclusion of history IDs in the content comparison process, which differ even without substantive content changes. Solution: Applied `stripHistoryIds` to the content obtained from the WYSIWYG editor before performing the dirty check. This ensures that comparisons focus solely on actual content changes, eliminating history IDs as a factor in the dirty state determination. opw-3707380 Forward-Port-Of: odoo/odoo#154068
This update fixes an issue where the legal note from a fiscal position on invoices was not appearing after installing the l10n_it module. The problem stemmed from an incorrect condition within the module that limited note display to Italian companies. Removing this condition ensures the note appears correctly for all invoices.
Original PR description
Steps to reproduce: - Install Accounting - Create a fiscal position with a legal note - Create an invoice with the created fiscal position - Preview the invoice => The legal note from the fiscal position appears on the invoice as expected - Install l10n_it - Preview the invoice => The legal note from the fiscal position doesn't appear anymore Cause: The condition to display the legal note from the fiscal position is overridden by l10n_it module to only display it for Italian companies, which is not correct. Solution: Remove the condition about the Italian companies. By removing that condition, the inherited view becomes useless as the overridden condition is the same as the original one. The inherited view will have to be removed in master. opw-3709443 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#153638