Daily updates from Odoo
Wednesday, September 4, 2024
7 changes
2 changes
Resolved issues and error corrections
This update makes an automated website editor test more stable by adding checks that wait for the page content to be ready before continuing. This reduces random test failures and helps keep website changes safer to release.
Original PR description
In this commit, we fix undeterministic test_html_editor_scss tour. To fix this behavior, we add few additionnal steps to check the state of DOM before continuing the tour.
This fix improves Odoo's internal web test environment so tests can identify the correct page element instead of accidentally selecting test framework overlays. It helps make automated test results more reliable and reduces false failures during development.
Original PR description
This commit introduces a global mock for the document `elementFromPoint` and `elementsFromPoint` methods, so that it ignores both Hoot's fixture and UI container. This has been done since when not debugging a test, the fixture is z-indexed behind the body and both of these methods would consider them accordingly, meaning that production code relying on these methods would consistently get the Hoot UI or the body instead of the desired element. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
3 changes
Resolved issues and error corrections
The UK BACS payment module now correctly depends on the UK localization module. This helps ensure the required UK banking functionality is installed automatically when needed, reducing setup issues for users.
Original PR description
### Steps to reproduce: - Install the 'l10n_uk' module - The module "l10n_uk_bacs" is not installed, but it should ### Solution: Make the `l10n_uk_bacs` module dependent on `l10n_uk`. When running `./odoo-bin --addons-path="addons/,../enterprise/" -u l10n_uk_bacs -d [db]` it detects the unmet dependency (`module l10n_uk_bacs: Unmet dependencies: l10n_uk`) and installs it. So I guess there is no need for an upgrade script. opw-4122475
This change prevents a shared translation dictionary from being modified globally, reducing the risk of incorrect translated text appearing elsewhere in the system. It also improves how data is prepared for reporting by moving shared JSON handling to a more appropriate common location.
Original PR description
The global dictionary containing the translations cannot be modified. opw-3932856
This fixes subscription behavior so only invoices tied to the current subscription are considered when checking for active draft invoices. It prevents unrelated contract invoices from affecting subscription payment and renewal tests, improving reliability without changing expected business workflows.
2 changes
Resolved issues and error corrections
Employee names that are too long were being cut off in the appraisal form view. This fix extends the employee name field to use the full available width, ensuring all employee names display completely regardless of length.
Original PR description
The employee name is cropped if too long on the appraisal form view. The field can be extended to full width to handle any name. Task: 4163637
Employee names that are too long were being cut off in the appraisal form view. This fix extends the employee name field to use the full available width, ensuring that all employee names display completely without being cropped.
Original PR description
The employee name is cropped if too long on the appraisal form view. The field can be extended to full width to handle any name. Task: 4163637