Tuesday, December 12, 2023
8 changes · 17.0
Resolved issues and error corrections
This fixes an internal test that could fail when Colombian localization was enabled because the sample import used a record type with extra required information. The test now uses a safer model, helping keep automated validation stable without changing user-facing behavior.
Original PR description
The test tries to import data from an sql file. The problem is that it is trying to import partners, but when the test is ran with the l10n_co localization, one of the required field is not filled. We just change the model to import to avoid the issue with the missing required field. Linked to runbot error 32740, 32742, 32745, 32738 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
Fixes an issue in the Website page properties screen where clicking a dependency link could crash instead of showing more details. This restores the expected tooltip behavior, helping editors safely review page URL changes and related dependencies.
Original PR description
See commit [1] for in-depth explanation and framework-js change but basically, `renderToElement` do not allow multiple root nodes since [2]. The fix is just about using the correct method to render multiple root nodes. Without the fix, it just crashed when you click on the page dependencies links. Step to reproduce: - Go to / - Open Page Properties - Edit / to /test - A list of possible dependencies will be shown, it's a link that can be clicked to open a tooltip to have more details - Clicking on it crash without this commit [1]: https://github.com/odoo/odoo/commit/2cff7e4094ebb4b56ab17a1462ff358b4b3e7ffd [2]: https://github.com/odoo/odoo/commit/6303a3eacdca012649a2ffda627b65c17a7217f1
This fix restores the original Spanish names for Ecuador partner records used in official electronic documents. Keeping these names aligned with VAT/RUC records helps avoid validation mismatches when submitting required XML files.
Original PR description
As we send the name of those partners in the XML for the EDI and in the XML and the correspondance of that name with the VAT number (RUC) is checked, we need to keep the original name. See https://github.com/odoo/odoo/commit/10f9460d2b744a2a135969cd6703f89a3439b923#diff-c58ef9acd83f5647980e035ced040bd699ad3fdaf9a150ca48c4db7a95e86e5aR5 Also translating partners does not make any sense as the field is not translatable. See issue https://github.com/odoo/odoo/issues/145698 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 fix prevents an error dialog from appearing when an Odoo website using the Events Tracks feature is opened over plain HTTP. It improves the visitor experience in test or non-secure environments where browser service workers are unavailable.
Original PR description
Description of the issue/feature this PR addresses: Website with "website_event_track" addon when test with plain HTTP cause UncaughtPromiseError (#140518) Steps to reproduce: Install Odoo CE with…
Description of the issue/feature this PR addresses:
Website with "website_event_track" addon when test with plain HTTP cause UncaughtPromiseError (#140518)
Steps to reproduce:
Install Odoo CE with "website_event_track" addon installed.
Browse the website with plain HTTP protocol
There will be "Odoo Client Error" dialog with "UncaughtPromiseError - Uncaught Promise > translationerror"
Current behavior before PR:
There is UncaughtPromiseError
Desired behavior after PR is merged:
There is no UncaughtPromiseError
The error is caused by Promise with unhandled rejection in
[odoo/addons/website_event_track/static/src/js/website_event_pwa_widget.js](https://github.com/odoo/odoo/blob/17.0/addons/website_event_track/static/src/js/website_event_pwa_widget.js#L8)
When test with plain HTTP, the "serviceWorker" won't be available
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API
> Service workers only run over HTTPS, for security reasons. Most significantly, HTTP connections are susceptible to malicious code injection by [man in the middle](https://developer.mozilla.org/en-US/docs/Glossary/MitM) attacks
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prProblem --------- Currently, only the ES language has UNSPSC code translation. Objective --------- Make the spanish translation available for columbian, mexican, etc. spanish variant. Solution --------- Add an .po named es_419 that will be used by all the spanish variant. opw-3627465
Original PR description
Problem --------- Currently, only the ES language has UNSPSC code translation. Objective --------- Make the spanish translation available for columbian, mexican, etc. spanish variant. Solution --------- Add an .po named es_419 that will be used by all the spanish variant. opw-3627465
This update corrects the button display in the consolidation grid view when editing consolidations. The 'Add a column' button now appears when needed, and the 'Consolidation balance' button has been removed from the editing interface where it was not required. These changes improve the user experience by ensuring only relevant actions are available during consolidation editing.
Original PR description
The 'Add a column' button was missing when editing a consolidation. The 'Consolidation balance' button was not needed when editing a consolidation. opw-3587724 Forward-Port-Of: odoo/enterprise#51398
This update fixes a display issue in the Employee module where text in the planning statistics button was being cut off at the bottom. The fix applies styling adjustments to ensure all text displays properly without clipping, improving the user experience when viewing employee planning information.
Original PR description
Description of the issue/feature this PR addresses: In the Employee module's view, the text in the planning stat button is being clipped from the bottom. Fix: This PR introduces styling adjustments to prevent the text from being clipped. task:3468392 Forward-Port-Of: odoo/enterprise#46767
This update corrects the display order of fields in the project task list view. Previously, the start date was appearing before the task name due to a duplicate field reference in the view configuration. The fix removes the duplication and ensures fields display in the correct sequence, improving the user experience when viewing project tasks.
Original PR description
The issue of the start date appearing before the task name in the project task list view is caused by a duplication of the company_id in the list view definition so changed the xpath reference to company_id to user_ids task-3468392 Forward-Port-Of: odoo/enterprise#47401