Friday, May 24, 2024
7 changes
1 change
Resolved issues and error corrections
This update fixes several issues in Odoo's internal HOOT testing tools and mock browser/server behavior. It helps developers run more reliable automated tests, reducing the risk of test failures unrelated to real product problems.
Original PR description
## Pull Request HOOT (PRHOOT) - part 15.5 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4:…
## Pull Request HOOT (PRHOOT) - part 15.5 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Part 13: https://github.com/odoo/odoo/pull/158384 / https://github.com/odoo/enterprise/pull/59019 Part 14: https://github.com/odoo/odoo/pull/158916 Part 15: https://github.com/odoo/odoo/pull/160292 / https://github.com/odoo/enterprise/pull/59971 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. Note: these changes are made in stable to avoid having to support multiple versions of the HOOT API. As such, these changes are intended to be strictly limited to unit tests as to not put the rest of the code base at risk. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
2 changes
Resolved issues and error corrections
Several localization and accounting EDI tests were updated to match the new invoice line behavior where product names are no longer automatically used as line names. This helps keep electronic invoicing, tax, and statutory reporting checks reliable after the product widget change.
4 changes
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
Original PR description
*: account_avatax, account_saft, l10n_cl_edi_export, l10n_co_edi, l10n_it_reports, l10n_lu_reports, l10n_mx_edi, l10n_mx_xml_polizas, l10n_nl_reports --- This commit modifies tests to adapt to the new behavior of the invoice lines' name not using the product name anymore. --- task-3888602 Community PR: https://github.com/odoo/odoo/pull/152869
The workspace settings menu in Documents now displays with the correct spacing after a Bootstrap update caused the layout to look broken. This keeps the menu readable and easier to use for users managing document workspaces.
Original PR description
Steps to reproduce 1. Click on the cog wheel menu of a workspace 2. The menu padding is broken Reason: Bootstrap library updated. After this commit: There is no broken wheel menu of a workspace. Task:3892891
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