Friday, May 24, 2024
8 changes · 17.0
Enhancements to existing features
This update adjusts the color of placeholder text in input fields to make it appear lighter and more distinct from regular text. Previously, placeholder text was too similar in color to actual user-entered text, which could cause confusion. The change improves the user experience by making it clearer which text is a placeholder versus actual content.
Original PR description
This PR aims to decrease a bit the contrast of placeholder textin order to avoid confusion with regular text. Prior to this PR, placeholder texts were using a gray value from the grayscale, which was very similar to the `$body-color` in some context. To fix that issue, the color of the placeholder has been reduced to make it lighter, even though it doesn't meet `3.5:1` contrast ratio. task-3686510 - requires https://github.com/odoo/odoo/pull/164510 Forward-Port-Of: odoo/enterprise#63111 Forward-Port-Of: odoo/enterprise#62029
This update improves how Odoo communicates with VoIP service providers by including the Odoo version number in the technical headers of VoIP calls. This helps providers better support and troubleshoot issues with different Odoo versions.
Original PR description
Include the version of Odoo in the UserAgent header of SIP requests so that the information is available to the provider. Task-3940569 Forward-Port-Of: odoo/enterprise#62970 Forward-Port-Of: odoo/enterprise#62879
Resolved issues and error corrections
Fixed a test in the mail module that was failing inconsistently when custom modules were installed before the mail enterprise module. The fix narrows the test to check only the Studio module's custom code metrics, which remain consistent across different installation scenarios. This ensures tests pass reliably regardless of what other custom modules are present.
Original PR description
Since the commit https://github.com/odoo/enterprise/pull/52348/commits/5c11c94b972d1993de4147d96fc3faaaaddc7c57 a test has been added that check the cloc result it stored on a ICP. But the result can be a bit different then expected during custom build if custom module are installed prior mail_enterprise. Solution: Check only the value of odoo/studio module that give the custom line in database that should be always empty during installation Forward-Port-Of: odoo/enterprise#63108 Forward-Port-Of: odoo/enterprise#62909
Code cleanup and technical improvements
A function that displays carryover lines has been moved from the core accounting module to the account reports module, where it actually belongs. This fixes a dependency issue where the function was calling other functions that only exist in account reports, making it unusable without that module installed.
Original PR description
`action_view_carryover_lines` calls account.report._get_date_bounds_info which is only defined in `account_reports`, and is itself only called from `account_reports`. It wouldn't have worked anyway for anyone who would have tried to call it without account_reports installed. So we take the liberty of moving it to account_reports in stable. See https://github.com/odoo/odoo/pull/155614#discussion_r1609626035 for context Forward-Port-Of: odoo/enterprise#63114 Forward-Port-Of: odoo/enterprise#63092
This fix enables the "Error amount too high" message in the Point of Sale sales management screen to be translated into different languages. Previously, this error message was hardcoded and could not be translated, limiting usability for non-English users. The fix adds the necessary translation wrapper to allow this message to appear in the user's preferred language.
Original PR description
In order for some text in the JavaScript code to be translatable, it must be wrapped in a call to _t. The title of a popup in the "sales management screen" missed this call to _t, preventing it from being translated. This commit fixes the problem by adding the missing call to _t. opw-3908751 Forward-Port-Of: odoo/odoo#165499 Forward-Port-Of: odoo/odoo#165337
This update adjusts the color of placeholder text in web forms to be lighter and more visually distinct from regular text. Previously, placeholder text used a gray color that was too similar to regular body text, causing potential confusion for users. The change makes placeholder text appear lighter to improve clarity and user experience.
Original PR description
This PR aims to decrease a bit the contrast of placeholder textin order to avoid confusion with regular text. Prior to this PR, placeholder texts were using a gray value from the grayscale, which was very similar to the `$body-color` in some context. To fix that issue, the color of the placeholder has been reduced to make it lighter, even though it doesn't meet `3.5:1` contrast ratio. task-3686510 - requires https://github.com/odoo/enterprise/pull/62029 Forward-Port-Of: odoo/odoo#166581 Forward-Port-Of: odoo/odoo#164510
This fix updates the payroll module's code generation templates to remove references to a deprecated field that was previously deleted from the system. The change ensures that when new payroll modules are created using the scaffolding tool, they will use the correct field names and avoid errors related to missing or outdated references.
Original PR description
-Sinve the removal of 'address_home_id' in https://github.com/odoo/odoo/commit/e8c48f824e078d643a3385fb910707d5525e927d we should adapt the scaffold code for payroll too. 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
A function that displays carryover lines has been moved from the core accounting module to the accounting reports module, where it actually belongs. This change improves code organization since the function only works when the reports module is installed and is only used there.
Original PR description
`action_view_carryover_lines` calls account.report._get_date_bounds_info which is only defined in `account_reports`, and is itself only called from `account_reports`. It wouldn't have worked anyway for anyone who would have tried to call it without account_reports installed. So we take the liberty of moving it to account_reports in stable. See https://github.com/odoo/odoo/pull/155614#discussion_r1609626035 for context Forward-Port-Of: odoo/odoo#166586 Forward-Port-Of: odoo/odoo#166545