Friday, June 13, 2025
5 changes · 17.0
Resolved issues and error corrections
The website iframe fallback template now updates shared assets without creating unnecessary website-specific copies. This prevents permission-related failures and keeps iframe asset handling consistent across websites.
Original PR description
To avoid unused font type faces to be defined in iframes, [1] did introduce dedicated assets that do not contain those definitions. In order for those assets to be taken into a count, the `website.iframefallback` template was updated on the fly in order to reference the right asset bundle. Unfortunately two aspects were overseen: - this created a COW version of the template for the current website, which is useless - if the user did not have rights to apply this patch, the complete call actually did fail This commit makes sure that there is no COW, that the patch is applied only once, and using sufficient rights. [1]: https://github.com/odoo/odoo/commit/c4e74991e1fd971918aee2514c2f3c40f3dd7a8c task-3080104
This fix prevents an error from appearing when users remove the currency and customer from an invoice in the Spanish localization. It helps keep invoice editing stable for companies using multiple currencies in Spain.
Original PR description
When User removes the currency from an invoice, A traceback will appear. Steps to reproduce the error: - Install ``l10n_es`` module and switch to ``ES Company`` - Enable Multiple currency - Create an invoice > Set customer > save - Now, Remove currency and customer from an invoice Traceback: ``` ValueError: Expected singleton: res.currency() ``` https://github.com/odoo/odoo/blob/51fcbd211d2b1abf4b93becedbcbb9e03002cdd6/addons/l10n_es/models/account_move.py#L23 This line causes a traceback with an empty currency when the user removes the currency from the invoice. sentry-6670501631 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents submenu dropdowns from appearing in the wrong location when users reopen them in CRM pivot views. It ensures the interface waits until the dropdown is ready before positioning it, reducing confusing navigation behavior.
Original PR description
Exemple of steps: - Install `crm` - Open crm with pivot view - Click on '+' on a stage, exemple: "Proposition" There is a dropdown with other sub-dropdown, If we go to a sub-dropdown for the first time it is displayed correctly but the second time it is displayed with a wrong position (on the parent dropdown). The problem occurs because the `batchedUpdate` function doesn't wait for the element to be displayed before updating its position. In our case, the dropdown didn't have time to have its position adjusted because the batch was called too early. opw-4493236
The inventory Clear button is now only shown to users with the correct manager permissions. This prevents standard inventory users from clicking an action they cannot complete and avoids confusing permission errors.
Original PR description
- The "Clear" button is only accessible by "group_stock_manager" but without a group attached, "stock_user" can still see it and operate it, resulting in an unnecessary permission error, confusing the user. Current behavior before PR:   --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Bank reconciliation reports now show amounts using the correct currency when journal entries come from journals set in a different currency than the company. This prevents confusing totals where a company-currency amount was displayed with the journal's currency symbol.
Original PR description
…eport Currently in bank reconciliation report we expect all the entries to have the balance encoded in journal currency However it may not be the case if an entry is posted in a misc journal set in another currency Steps to reproduce: - Create a new journal in another currency (€) than the company's ($) - Create a new journal entry using the journal main account - Go to the account dashboard > click on the 3 dots of the journal - Open the Reconciliation report Issue: The journal entry amount is in company curreny (balance), but with the journal currency symbol (€) opw-4701349