Tuesday, April 30, 2024
7 changes · master
Resolved issues and error corrections
Creating a button from the editor now opens the link dialog with the expected primary button option selected by default. This fixes a regression that could confuse users and helps them create styled buttons with fewer extra steps.
Original PR description
**Current behaviour before PR:** When hitting "Button" command through powerbox, link dialog gets opened with the default option of "link" instead of "Button Primary" which is the regression of commit [1]. **Desired behaviour after PR:** Now, hitting "Button" opens link dialog with the default option of "Button primary". [1]: https://github.com/odoo/odoo/commit/356c78b task-3850381 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a test so it only checks modules that are actually installed in the current setup. It helps prevent false build failures across different Odoo editions or configurations, improving release reliability without changing user-facing behavior.
Original PR description
Before this commit, this test will fail depending on installed modules (community, single, ...) Filtering on installed modules fixes the issue. Build-error-62458
This update fixes an internal automated test for date and time entry so it waits properly for clicks to complete. It helps reduce false failures in the validation system, giving teams more confidence that builds fail only for real issues.
Original PR description
Use "await contains(...).click()" instead of just "click(...)" to be sure that the test wait that the event is finished before continuing. Fixes runbot error 62232 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 fixes an issue where the web app did not properly clear an auto-save listener when a form tab became hidden. It helps avoid unnecessary background behavior and keeps form handling more reliable for users.
Original PR description
Fix for a mistake using the event listener api. The listener was never properly removed.
Updated the subscription checkout test setup so the website and sales order use the same company. This prevents currency access mismatches during automated testing, making subscription checkout validation more dependable without changing customer-facing behavior.
Original PR description
Modifies `test_cart_update_so_recurrence` to use a consistent company for both sale.order and website, resolving access issues to `company_id.currency`. Previously, the test encountered a scenario where `compute_all` could not access the correct currency, as it depended on the company from the sale.order, which differed from the website's company. By aligning the company across both entities, the test now correctly accesses the necessary currency, ensuring reliable test outcomes. Related: odoo/odoo#144389 task-2596416
Removed two unintended lines that were accidentally left in an accounting reports calculation method. This keeps the reporting code cleaner and helps reduce the risk of unexpected behavior in financial report processing.
Original PR description
This commit introduced 2 lines of unwanted code: https://github.com/odoo/enterprise/commit/e72b8dd7c48385cd189319938bbe40a886e9ea53
A bug in accounting reports was corrected so report groupings are validated using the report itself rather than looping through records incorrectly. This helps prevent report errors in affected accounting report configurations and keeps financial reporting behavior reliable.
Original PR description
Introduced in odoo/enterprise@e72b8dd7c48385cd189319938bbe40a886e9ea53