Friday, April 4, 2025
5 changes · saas-18.2
Resolved issues and error corrections
This fix prevents errors when updating a company address in the Indian localization. Taxes are now adjusted using the company’s fiscal setup rather than the address country, making company detail changes safer and more reliable.
Original PR description
This commit ensures that taxes are updated based on the company's fiscal country instead of the company address country, preventing errors when modifying the company’s address. Steps to reproduce the issue: 1. Install Indian localization (`l10n_in`). 2. Create a new company, set any country, and load its localization (except India). 3. Change the country in the company address. 4. Add a GSTIN (VAT) number. Before this fix, changing the company’s country caused a traceback due to incorrect tax modifications. Task ID: 4680276
Fixes an issue in the HTML editor where opening the link editing popover left the formatting toolbar visible. This reduces visual clutter and makes the link editing experience behave as users expect.
Original PR description
**Problem**: When clicking "Link" in the toolbar, the link popover opens, but the toolbar remains visible instead of closing. **Cause**: Previously (`saas-18.1`), clicking "Link" created an `<a>` tag…
**Problem**: When clicking "Link" in the toolbar, the link popover opens, but the toolbar remains visible instead of closing. **Cause**: Previously (`saas-18.1`), clicking "Link" created an `<a>` tag and changed the selection to it. This triggered `updateToolbarVisibility`, which detected the selection on a link (where `[data-prevent-closing-overlay]` was `false`), allowing the toolbar to close. Now, the `<a>` tag is created only when applying link changes. So `updateToolbarVisibility` is triggered with selection inside the link popover’s input field (where `[data-prevent-closing-overlay]` is `true`), preventing the toolbar from closing. **Solution**: remove `data-prevent-closing-overlay` from link popover and only close toolbar if selection is inside link popover using `.o-we-linkpopover` as selector. **Steps to Reproduce**: 1. Open the toolbar. 2. Click "Link". - **Issue**: The link popover opens, but the toolbar remains open. **opw-4639049** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes an automated check for user group settings more dependable by waiting for the relevant screen section to appear before continuing. It helps reduce random test failures, improving confidence in release validation without changing user-facing behavior.
Original PR description
This commit makes the mentionned tour more robust by ensuring that we wait for the notebook tab to be displayed before going further. runbot issue-134552 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
The event booth booking flow now handles cases where a visitor has not selected a booth location without triggering an error. This prevents a broken booking experience and correctly keeps the booking button disabled until a valid booth location is chosen.
Original PR description
Steps to reproduce ==================== - Go to an event that has a booth option. - Try to book a booth without selecting a location. Technical ========== - Here ```countSelectedBooths``` method is already returning the length as an integer, and so doing again .length on an integer leads to an alteration in the value of ```isSelectionEmpty``` - Also, we inverted the value of ```isSelectionEmpty``` because when the location is not selected button needs to be disabled - An issue arises during our recent interaction conversion https://github.com/odoo/odoo/commit/22e777c046521f3f89b62caa5876680beb7f5aba Task-4680767
This fixes an internal issue that could prevent forced upgrade scripts from running correctly when the system reloads its registry multiple times. It helps ensure upgrades are applied consistently, reducing the risk of incomplete update operations.
Original PR description
Since https://github.com/odoo/odoo/pull/189000, the `config['update']` becomes static. Using `upgrade_modules` instead `config['update']` in case the registry is loaded multiple times. Details https://github.com/odoo/odoo/pull/202014/files#r1999022512 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