Wednesday, March 27, 2024
10 changes
3 changes
Resolved issues and error corrections
This fixes unreliable automated tests by making the simulated server date match the dates expected by the tests. It helps prevent false failures in mail and live chat test runs, supporting smoother releases without changing customer-facing behavior.
Original PR description
mock server date is by default in 2019, which can lead to unwanted behaviors. Mock the correct date to the server for those hard-coded date tests. https://github.com/odoo/enterprise/pull/59436 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a timing issue in an automated mail test so it no longer fails unpredictably. The change improves confidence in the test results without changing how users experience the mail or discuss features.
Original PR description
Similar to https://github.com/odoo/odoo/pull/158746, the add_members() will call the message_post(). The date should be mocked as well to prevent race condition problems. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix improves how grid-based views handle scrolling and size changes for rows or columns. It prevents outdated positioning data from affecting the display, reducing visual glitches and making large lists or grids feel more reliable.
1 change
Resolved issues and error corrections
This update corrects a bug that caused the system to repeatedly recalculate expense product costs, which could lead to inaccurate accounting records. The fix ensures that expense costs are only calculated when necessary, improving data accuracy and reducing potential discrepancies in financial reporting. This change improves the reliability of expense tracking.
Original PR description
Fix a bug introduced by 67901a4429c69fbba96c32af5d8f58aff54f0be5 When an expense is submitted and for the steps after, there is no need to recompute the product_cost as it may be confusing or generate discrepancies with the account move by changing the totals. task-3580004 Forward-Port-Of: odoo/odoo#155277 Forward-Port-Of: odoo/odoo#141400
2 changes
Resolved issues and error corrections
The debug popover in financial reports now only appears when there is useful information to show. This avoids oversized, empty popovers and makes report screens cleaner for users reviewing financial data.
Original PR description
The size of the popover for report lines without formulas was too big for its content. This commit fixes this issue by shrinking the popover to fit its content. Steps to reproduce issue: 1. Open the Executive Summary report: **Reporting → Executive Summary** 2. Click on the debug icon in the last column of the 'Cash' header line task: 3775658
4 changes
Resolved issues and error corrections
This update removes an old URL pattern from the forum system that was causing unnecessary redirects. Previously, forum links using the /question/ path would redirect to the standard forum post URL, creating redundant steps. This fix eliminates that outdated redirect path, making the forum navigation cleaner and more efficient.
Original PR description
Avoid redirect to forum/<name>/question/<post> that will rediret in all case to /forum/<name>/<post>.
This update fixes an internal Point of Sale compatibility issue affecting localization features. It helps ensure invoice and preparation display behavior continues to work correctly after recent technical restrictions.
Original PR description
PoS variable was use in models in localization modules. This is not allowed anymore. This commit fixes the issue.
A recent update to the survey test suite caused an issue where multiple surveys were being created with duplicate session codes. This fix ensures that each survey receives a unique session code as required by the system. This resolves test failures and maintains data integrity in the survey module.
Original PR description
In c983f8a5 we updated the `test_survey_invite_action` test to create surveys in batch instead of one by one. This is problematic because `session_code` (given by utility method) must be unique for all surveys. Task-3829536
The certificate used for testing Spanish tax authority (AEAT) integration has expired and is no longer valid. This fix removes the failing daily test while maintaining test coverage through alternative regional certificates (Bizkaia and Gipuzkoa) that use the same technical flow. This prevents continuous test failures without impacting the actual functionality.
Original PR description
Our certificate for aeat seems to not be valid anymore. We don't have a replacement currently. The flow is still tested with bizkaia or gipuzkoa (mostly just different servers/addresses, but same flow/xml), where the certificate is still accepted. We remove this test that fail every day. Linked to Runbot error 25907 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#157278
This update fixes a test failure in the accounting module that occurred when a test ran across midnight. The test was creating a financial transaction at 23:59:59 and then running a wizard the next day at 00:00:01, causing the wizard to use the wrong date. The fix ensures the test runs consistently regardless of what time of day it executes.
Original PR description
If the move in the test is created at 23:59:59, and the wizard on the next day at 00:00:01, the test will fail because the wizard takes today as the date at creation. We just add a freeze_time (for this test only, as the other tests in the class don't have the issue). Linked to runbot error 60478 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#157981