Tuesday, March 5, 2024
11 changes · 17.0
Enhancements to existing features
The negative net field in payroll reports has been hidden from view since it's not meant to be edited by users. This change improves the clarity of payroll reports by removing a field that should only be used internally for calculations.
Original PR description
The negative net field is not intended to be modified by the user, so it should not be visible in the report. This commit hides the field in the report. task-3761771
This update improves how the testing system handles screencast recordings by preventing errors when directories don't exist after cleanup and reducing unnecessary log file sizes. These changes make the test process more reliable and efficient, particularly when tests fail and generate screencast recordings.
Original PR description
Fix similar to 151558 Don't fail if the screencast dir doesn't exist (after clear) Also, reduce the log size. Forward-Port-Of: odoo/odoo#156202 Forward-Port-Of: odoo/odoo#156043
Resolved issues and error corrections
This fixes a problem where some message tracking records without a linked field could cause an error when viewed. The system now uses the related message information as a fallback, helping users access communication history reliably.
Original PR description
Sine the following fix: https://github.com/odoo/odoo/pull/155034/files, we get a traceback when we are reading tracking values that does not have field_id. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
This pull request updates the Odoo configuration file (debian/odoo.conf). The changes ensure the system configuration is properly aligned with current requirements and best practices for deployment.
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
This change corrects the setup used by payroll time-off tests so they include the right dependencies. It helps keep automated checks reliable and reduces the risk of payroll-related changes being blocked or validated incorrectly.
Original PR description
Comes from https://github.com/odoo/enterprise/pull/52936/files#diff-17daa14b2025a341e36ac499d7a497db24f90231b74221fb0cd662abc0ba58adR11
This update removes the automatic installation of the Belgian tax deduction and fleet expense module. Since not all businesses use tax deductions and computed values, this module will now only be installed when explicitly needed, reducing unnecessary features for users who don't require this functionality.
Original PR description
Not everyone works with tax deductions and computed values, we thus remove the auto install for now task-3786729
This update simplifies how delivery prices are retrieved from Starshipit by reverting to a more efficient method. The original issue that required workaround code has been resolved, allowing us to reduce unnecessary API calls and speed up the delivery pricing process.
Original PR description
The current code was made in response to an issue where the exact_price value would not always be in the response of /orders, which would cause issues and inconsistencies. As of now, this issue seems to not happen anymore and we can thus revert to the original way of handling that which uses less api calls and a faster flow.
Fixed an intermittent test failure in the image cropping feature where the browser would quit before the image fully loaded, causing unpredictable test results. The fix adds a small delay to ensure the image cropper widget is fully ready before proceeding with the test, making the testing process more reliable.
Original PR description
Before this commit the test `test_image_crop` sometimes failed. This was because the browser quit while the image of the image cropper was loading. This operation caused an error, that was caught by the browser and then by the test infrastructure but *after* the tour was marked as succesful. After this commit, we wait a little bit longer, that is, until the cropper widget (which is a JQuery extension) appears. runbot-error-59063 Forward-Port-Of: odoo/enterprise#58002
This update removes confusing language from the Belgian bank connection wizard that incorrectly suggested certain features were exclusive to Odoo. The change makes the setup process clearer for users by removing misleading text and ensures all translation files are properly included.
Original PR description
After some discussion, it was decided to remove the "(exclusive to Odoo)" part which may confuse the user Also add missing translation file
This update fixes a bug in the Loyalty module where data was being accessed unsafely, which could cause errors when certain information is missing. The fix uses a safer method to retrieve data that gracefully handles missing values instead of crashing.
Original PR description
Addendum to https://github.com/odoo/odoo/commit/7ed0a773b6e0 Reference PR: https://github.com/odoo/odoo/pull/150418 Forward-Port-Of: odoo/odoo#155927
The preview button on course pages was not displaying with the correct visual styles for enabled or disabled content. This fix restores the proper button appearance so users can clearly see whether content previews are available or restricted.
Original PR description
Bug ===== Click the `preview` button on the course page. It does not apply the proper styles to the button used for enabled or disabled content previews. Technical =========== With commit https://github.com/odoo/odoo/commit/2d386bc437194b78ea5d446d7b0fa4f5444406e2, the `badge-hide` class used for the `preview` button was replaced and some styles were altered. After this commit ================== The `preview` button is functioning properly. Task-3751285 Forward-Port-Of: odoo/odoo#155003