Friday, August 1, 2025
8 changes · 18.0
Resolved issues and error corrections
This fix updates the employee skills test flow so it opens the Resume tab before continuing. It prevents an automated test failure in setups without demo data, helping keep HR skills functionality reliable during updates.
Original PR description
step to reproduce: 1. install l10n_ch_hr_payroll_account 2. without demo 3. run test SkillsTestUI.test_ui added missing step is to go to resume tab in the tour build_error_181683 Forward-Port-Of: odoo/odoo#214578
Stock reports now avoid showing extremely large unit costs caused by tiny rounding differences when quantities are effectively zero. This makes inventory valuation figures clearer and prevents confusing cost values from appearing in reports.
Original PR description
## Before this commit: Opening the stock report displays gigantic unit cost in some cases, when the sum of the valuation's quantity is near zero but not exactly, due to float arithmetics. For example, if the total quantity is 1e-15 and the total value is $0.01, the average cost will display $10000000000000 instead of $0. ## After this commit: Use `float_is_zero` to correctly detect zero-ish quantity. opw-4869588 Forward-Port-Of: odoo/odoo#221062 Forward-Port-Of: odoo/odoo#218671
Accounting log messages now use consistent original wording instead of translated text. This makes troubleshooting easier across multilingual environments while keeping translated messages for users.
Original PR description
Currently, error messages in logs are translated, which can make it difficult to debug issues — especially in multi-language environments or when analyzing logs programmatically. This commit ensures logs use the original, untranslated message templates for clarity and consistency, while keeping translations for user-facing errors. sentry-6763108230
The website settings now show the Google Search Console option with the correct name instead of the reversed wording. This small correction makes the setting clearer and easier for users to recognize.
Original PR description
Before this commit, the Google Search Console label in the settings was wrongly displayed as "Console Google Search". This commit replaces this field label with "Google Search Console". task-3839274
Invoice and sales email subtitles now skip missing contact names instead of displaying “False”. This keeps customer-facing email notifications cleaner and avoids confusing recipients when invoice-address contacts do not have their own name.
Original PR description
**Steps to reproduce:** 1. Install *Accounting* and *Contacts*. 2. Create a company contact with a name & address. 3. Add a child contact: Type = “Invoice address” **Leave the Contact Name blank** 4. Configure an outgoing mail server. 5. Create & confirm a customer invoice for created invoice‑address contact. 6. Click Send, send the invoice email, and check subtitle — it displays `False`. **Issue:** - When the invoice is emailed to a contact without a name, the email subtitle shows False, for example: `INV/2025/00006 - False` **Note: Same issue for Sales** **Cause:** - The rendering logic only checked that `partner_id` existed, not whether `partner_id.name` was non‑empty - Since name was not mandatory for address-type Invoice Address, this resulted in `False` appearing in the email subtitle. **Solution:** - Add an check for the validity of partner_id.name when generating the email subtitle. **opw-4939158**
Website translation mode now shows only one notification when a user selects content that cannot be translated. This avoids confusing duplicate messages and makes the editing experience smoother for website managers.
Original PR description
Since [1], when clicking a non-translatable element in translation mode, the notification was sometimes shown multiple times due to event bubbling. This commit stops the click event from propagating, ensuring the notification is only triggered once. [1]: https://github.com/odoo/odoo/commit/41e341177611cf69d1bd61e66a809510c22cc1b7 Forward-Port-Of: odoo/odoo#221241
Website form fields now keep their preset default values when editors move the field or change its visibility. This prevents accidental loss of configured form defaults while editing website forms.
Original PR description
Problem: When changing the default value of a field, then modifying its position and visibility, the field loses its default value. Cause: Setting a default value assigns the `value` attribute to the…
Problem:
When changing the default value of a field, then modifying its
position and visibility, the field loses its default value.
Cause:
Setting a default value assigns the `value` attribute to the field's
input element. However, after re-rendering with `_renderField`, the
HTML `value` attribute is lost. As a result, when
`_computeWidgetState` called with `selectAttribute` as method name, it
fails to retrieve the value because there is no HTML `value` attribute
on the input.
Using `t-att-value="field.value"` will lead to `value` attribute loss
during owl rendering, this is an owl bug but this fix is to work around
it until it is globally fixed.
Solution:
use `t-attf-value="#{field.value}"` instead of
`t-att-value="field.value"`
Steps to reproduce:
- Add a form
- Select any input field
- Set a default value
- Change the field's position
- Change the field's visibility
-> The default value is lost
opw-4902544
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#220047Documentation and clarification updates
This update records that GitHub user shawkialaddin has signed the Odoo Individual Contributor License Agreement. It helps ensure contributions can be accepted under Odoo's legal contribution requirements.
Original PR description
Description of the issue/feature this PR addresses: Sign the Odoo Individual Contributor License Agreement (CLA) for GitHub user shawkialaddin. Current behavior before PR: CLA not signed. Desired behavior after PR is merged: CLA signed and recorded in doc/cla/individual/ under shawkialaddin.md. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr