Thursday, January 25, 2024
6 changes · 17.0
Resolved issues and error corrections
This fixes an issue where selected font sizes in mass mailing could be converted incorrectly, causing text to appear at the wrong size. The editor now uses the correct document context for calculations, improving consistency when editing email content.
Original PR description
Commit [1] introduced a responsive font size feature was. Following this, in the context of mass mailing, an issue arises when users select a font size from the toolbar dropdown. Specifically, the…
Commit [1] introduced a responsive font size feature was. Following this, in the context of mass mailing, an issue arises when users select a font size from the toolbar dropdown. Specifically, the `_computePxByRem` function converts the `px` value selected by the user to the wrong `rem` value. This is because it relies on the font size of the `html` element of the main window's document rather than that of the iframe's document. Since the iframe's document has a font size of 14px where the main document has a font size of 16px, the conversion was faulty. Also, the value was cached on the window object, which is common to both documents. So this commit moves that cache to the document so two different values can be stored. [1]: https://github.com/odoo-dev/odoo/commit/ddf25a16c46bfc3628512aba1390a1e345ec719a task-3653543 Co-authored-by: Vishal Padhiyar <visp@odoo.com> Co-authored-by: Dieleman Guillaume <gdi@odoo.com> --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Project update cards now show clearer spacing between the progress bar and date in mobile view. This small visual fix makes the cards easier to read and improves the experience when reviewing project updates on smaller screens.
Original PR description
Steps to reproduce: - open project updates of any project by clicking three dots - add some update of project - switch to mobile view Issues: - in kanban cards of project update, no spaces between progress bar and date Solution: - add some space between progress bar and date to have better experience Task:3633405
A small bug fix was applied to the mobile mail module to correct a variable name typo that was introduced in a recent update. This fix also addresses a related issue with delayed notifications, ensuring mobile users receive their messages reliably.
Original PR description
Nothing big, just fixing a recent commit while fixing a related bug in community about delayed notifications.
This update resolves a test failure in the Point of Sale module that was causing automated testing errors. The fix removes reliance on demo data in the test, making the test more reliable and independent. This ensures the Point of Sale system continues to function properly during quality assurance checks.
Original PR description
Do not use demo data in test. Runbot error: 55596
This update removes a deprecation warning that appears when users regenerate asset bundles through the debug menu. The system now uses the recommended cache management approach instead of an outdated method, ensuring the feature works smoothly without warnings in current versions.
Original PR description
Since [1] `model.clear_cache` is no longer recommended. Most models were changed besides the function responsible for regenerating asset bundles. This leads to a deprecation warning when pressing the button in the debug menu in 16.4+ 1: #119813 opw-3694331 Forward-Port-Of: odoo/odoo#150307
This fix restores important version information that was accidentally removed from translation files in the Sales and Sales Stock modules. The version line is critical for the translation management system (Transifex) to properly track and manage translations, so restoring it prevents potential issues with the translation workflow.
Original PR description
This commit reverts an unwanted diff introduced by Commit[1]. Recently, Commit[1] introduced some wording changes within the portal layout, which required an update of the `.pot` file. While the terms where correctly updated, Commit[1] also removed a line about the version of the project, which could cause some issue within Transifex. Commit[1]: 7aa06fd