Monday, March 24, 2025
10 changes
2 changes
Resolved issues and error corrections
This update corrects a test setup issue in the Indian payroll accounting module related to spreadsheet handling. It helps keep automated checks reliable, reducing the chance of development delays from false test failures.
This update prevents a payroll report test from running when a required spreadsheet tool is not installed. It helps avoid unnecessary test failures during upgrades without changing day-to-day payroll functionality.
Original PR description
In this commit, the openpyxl import has been fixed. This ensures that if openpyxl is not present, the test case will not execute. Error Log: https://upgradeci.odoo.com/upgradeci/run/193786 Related Upgrad PR : https://github.com/odoo/upgrade/pull/7417
8 changes
Resolved issues and error corrections
The HTML editor now correctly keeps Translate and AI actions available when users select text across multiple paragraphs. These buttons are still disabled for content that should not be edited, preventing incorrect restrictions while preserving safeguards.
Original PR description
**Problem**: The Translate/AI buttons should only be disabled when selecting non-editable content or an unsplittable node. Currently, they are disabled incorrectly when selecting multiple paragraphs. **Solution**: Disable Translate/AI buttons only when a non-editable content or an unsplittable node is selected. **Steps to Reproduce**: 1. Add two paragraphs. 2. Select all the text. 3. **Issue**: The Translate button is disabled but should be enabled. **opw-4629920** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents a mail template rendering test from crashing on Ubuntu 22.04. It improves the reliability of automated checks for the mail module without changing customer-facing behavior.
The image cropping tool now handles cases where a large image is still loading and the user closes the cropper. This prevents an error message and keeps editing smooth when working with large images.
Original PR description
**Problem**: Loading large images into the cropper takes time. Closing the cropper early causes `this.imageRef.el` to be `null` or `this.initialSrc` to be `undefined`, leading to a traceback. **What happens**: 1. Add a large image. 2. Click "Crop". - This triggers `show`. - While `loadImage` is still unresolved due to image size. 3. Click "Discard" to close the cropper before image loads. - **Issue**: `this.imageRef.el` is `null` and `this.initialSrc` is `undefined` as the component is destroyed but `loadImage` has not resolved yet, when it is resolved a traceback will be appear. **Solution**: Add a lifecycle flag as full mounting of the cropper might take time. **Steps to Reproduce**: 1. Add a large image. 2. Open cropper. 3. Close cropper before image loads. - **Issue**: Traceback. opw-4607020 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error from occurring when the text selection is outside the editable area during a collaboration reset. It helps keep the HTML editor stable for users working with collaborative editing features.
Original PR description
Purpose of this PR: - Check `isSelectionInEditable` before `setSelection` to avoid error when selection is outside the editor. task-4639982 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix removes ambiguity in a Point of Sale test product name so automated checks select the intended item consistently. It helps prevent false test failures related to rounding validation, improving confidence in release quality without changing user-facing behavior.
Original PR description
Before this commit:
The test `test_rounding_half_up` do un-consistantly fail on the `totalIs("1.20")` check.
According to the screenshot, the total value is 1.25
This may be related to a rounding issue, but I suspect that another test product is wrongly selected instead.
The test select a product with a name containing `Product Test 1.2` this is expected to select the product with the exact same name. But I do suspect that it can also sometime wrongly select the product `Product Test 1.25` as it starts the same.
After this commit:
The name of the product is modified in the demo data and test to avoid ambiguity with the contains operator
Note: I don't really know why the issue start to happen only now
rb-161265Fixed an issue where invoices could not be sent by email when the main invoice customer had no email address. The system now checks the selected email recipients instead, allowing invoices to be sent to other contacts with valid email addresses.
Original PR description
If the invoice partner has no email address set, you can't send out the invoice by email to other contacts. Check email for contacts in the mail_partner_ids field instead of invoice partner and send to emails existed. opw-4624587 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix updates an internal sales manufacturing test so it can run reliably even when sample data is not installed. It helps prevent false test failures and supports smoother maintenance of the sales and manufacturing integration.
Original PR description
The base.group_multi_company group is needed when the test is run without the demo data. Adding this group allows the stock.stock_location_customers location to be added to the stock rule’s search domain. This location is necessary for the stock rule to be found. Runbot error: 161249 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A timing issue caused an automated timesheet check to fail when it ran on Sundays. The date selection now uses the correct Monday so the overtime validation test remains reliable throughout the week.
Original PR description
This test tour fails on sunday. Reason: - Here in the test create timesheets in previous week to check overtime in timesheets. - The formula works as today - current week day --> gives monday of this week - But on when it sunday it gives monday of previous week. - Timesheets are further created the previous weeks if given monday. - But we only go one week previous to check Fix: - Selecting next monday if weekday is sunday as we go back one previous week in tour. task-4667966