Wednesday, December 18, 2024
12 changes · 18.0
Resolved issues and error corrections
The mail sub-channel search panel now stays within the visible browser area more reliably. This prevents automated checks from failing in newer Chrome versions or watch mode, improving confidence in mail interface stability without changing user workflows.
Original PR description
Before this PR, the `test_04_sub_channel_panel_search` test was always failing when chrome version is greater than 123 or in watch mode. This occurs because the sub channel search panel is overflowing, falsing the assertion related to the thread being scrolled to the bottom. The search panel popover is restricted to `Min(100vh, 500px)` which does not take into account the space between the top of the window and the popover. This PR fixes the issue by reducing the vh allowed for the popover in order to keep it visible as much as possible.
This update makes an automated test for collaborative editing more reliable by waiting until the text selection is fully updated before checking it. It helps prevent false test failures, improving confidence in future releases without changing the user experience.
Original PR description
The test introduced in [1] is failing undeterministically. Since the selection update somtimes takes more time than what is expected, we change it waituntil the selection is correct. 109367 [1]: https://github.com/odoo/odoo/pull/179742
This update fixes an accounting test so it works even when only the Accounting app is installed. It reduces false test failures caused by assumptions about optional payment methods from other apps, helping keep releases more reliable.
Original PR description
Don't rely on other modules adding payment methods without an account, it should run with `account` only installed. runbot-106384
Printing receipts from Point of Sale no longer produces an unwanted blank page. This saves paper and reduces confusion for cashiers and customers when issuing receipts.
Original PR description
An extra blank page was being printed when printing the receipt from the POS.
Adding
```
.pos-receipt {
contain: paint;
background-color: transparent;
}
```
to the receipt_screen.scss file fixes the issue.
opw-4292890The emoji button in the Mail text field now appears in the correct place instead of being pushed too far into the form. This prevents overlap with other interface elements and makes emoji use more consistent for users.
Original PR description
The emoji button in the text field was misaligned. Appearing too far in the form view. This led to the emoji being overlapped by other components. The fix consists in : - Added a 'position-absolute' to the button for correct alignement - Updated the parent container to 'position:relative' in the css for correct positioning. This fix addresses a user interface bug and ensures consistent emoji positioning/display. opw-4332574 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes Argentine withholding calculations more reliable when registering payments, especially when several payment records are processed together. It also ensures that “today” follows the user’s local date, helping avoid date-related errors in payment workflows.
Original PR description
A few things were wrong: * a compute function needs to take into account multiple records. It can happen even on wizards i.e. in tests because fields are flushed together * `fields.Date.from_string` is deprecated and useless * "Today" needs to take into account the locale of the user runbot-98546
This fixes a redundant validation step when opening the payment registration flow. The same check still happens later as part of preparing the payment wizard, reducing unnecessary failures while preserving existing safeguards.
Original PR description
Remove the check done in `action_force_register_payment` because it will be done anyway when computing the default values for opening the wizard. runbot-105675
Email marketing editors will no longer offer the option to add videos, which are not supported in mass mailing emails. This prevents users from creating campaign content that may not display or work correctly for recipients.
Original PR description
**Problem**: Videos are not supported in email marketing, yet the powerbox allows users to add videos. **Solution**: Disable the option to add videos when editing email templates in mass_mailing. **Steps to reproduce**: 1. Create a new email template. 2. Open the powerbox. 3. Observe that the option to add videos is available. opw-4395333 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The online shop now shows only the tags linked to the selected product variant instead of mixing in tags from other variants. This helps customers see accurate product information and avoids confusion when comparing or choosing variants.
Original PR description
Steps to reproduce: ------------------ - Set a product tags for a specific variant - Go to the shop - All the tags of all product variant are displayed Issue: ----- While displaying the tags the tags does not take into account the current product. This results in the display of all the tags of all variant instead of the tags of the specific one. Fix: ---- task-4357477 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects an accounting test so it behaves properly when only the Community Edition is installed. It helps keep automated checks reliable and avoids false failures that could slow down future accounting fixes.
Original PR description
* If only using Odoo CE, this test will fail because action_force_register_payment will raise usererror like 'you can only ...' which will not match the expected out come 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 a display issue where the email template editor's fullscreen mode could appear hidden behind a pop-up window. Users editing email automation templates can now use fullscreen editing without the workspace being obscured.
Original PR description
Issue: ====== When we toggle the full screen mode it's displayed under the modal. Steps to reproduce the issue: ============================= - Install email automation - Create a new one (commercial prospection) - Click on offer free catalog to open the modal - Click on the internal link on the right of mail template - Toggle full screen mode of the snippets editor - The editing area is under the modal Origin of the issue: ==================== When we toggle the full screen mode we add the class `o_form_fullscreen_ancestor` which will add `z-index:zindex-modal-backdrop + 1` which is bascially putting the iframe under the modal. Solution: ========= Update the `z-index` to put the iframe and the snippets on top of the modal opw-4318011
German DATEV exports now remove line breaks from accounting entry descriptions by replacing them with spaces. This prevents invalid export files when descriptions contain multi-line text, helping businesses share accounting data more reliably.
Original PR description
In the datev export, we cannot use any linebreak. But in the aml name you could have some, to fix this we just replace any linebreak by a simple space task: 4358246