Tuesday, April 15, 2025
5 changes · saas-18.1
Enhancements to existing features
Odoo now always creates the HTTPS certificate needed by IoT devices, instead of tying that step to an IoT subscription. This makes device setup more consistent while leaving subscription checks to the database where they belong.
Original PR description
We used to associate HTTPS certificate with IoT subscriptions. We now always generate the certificate, and let the database handle IoT subscriptions. Task: 4585446
Product forms now avoid loading a very large list of Intrastat codes into the browser. This lowers memory use and reduces slowness when users browse or edit products that use Intrastat information.
Original PR description
Previously, the intrastat_code_id was filtered by checking against a large list that is sent to the frontend. This caused huge memory usage due to the list being used in many objects and the list itself being large, around 10k items. This memory leak caused slowness in the frontend while going through the product form views. Currently, the list is not being sent. The domain itself is evaluated from the frontend without sending a list. This reduces memory footprint and slowness.
Resolved issues and error corrections
The Point of Sale now selects the intended product variant when products have a mix of single-choice and multi-choice attributes. This prevents staff from accidentally selling the wrong variant after using the product configurator.
Original PR description
Before this commit, when a product template had an attribute with only one value and another attribute with multiple values, the PoS would sometimes select the wrong `product.product` after using the variant configurator. This happened because `product_template_variant_value_ids` only includes attribute values that have more than one possible value. opw-4689034 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves startup issues in the IoT Box image by ensuring time synchronization starts at the right moment and locale settings match what is installed. This should reduce boot-time errors and make IoT Box startup more reliable.
Original PR description
This is a backport of commit 9b86deb to saas-18.1. Before this commit, the following errors would occur during start-up: - `systemd-timesyncd` would fail to start - Several errors related to locale settings The `systemd-timesyncd` problem was actually caused by it trying to start too early. By disabling the autostart of the service, it is instead started as a dependency of `systemd-timedate`. This allows it to start without errors. The locale errors were caused by the default locale being set to `en_GB` even though only `en_US` was setup during the build process. By setting the `/etc/default/locale` file to `en_US` and removing all the evironment variables, the errors are fixed. We also unset all language environment variables during the image build process, preventing the same locale errors from appearing. task-4687121 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update brings the spreadsheet component to its latest version, fixing issues when pasting borders and applying data validation from the clipboard. It also improves autofill performance, making spreadsheet editing smoother and more reliable for users.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ddaea833c [REL] 18.1.15 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ddaea833c [REL] 18.1.15 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/329448218 [FIX] clipboard: huge revision on pasting borders [Task: 4718522](https://www.odoo.com/odoo/2328/tasks/4718522) https://github.com/odoo/o-spreadsheet/commit/40bd1dd6e [FIX] clipboard: duplicated `range` in data validation command [Task: 4718522](https://www.odoo.com/odoo/2328/tasks/4718522) https://github.com/odoo/o-spreadsheet/commit/31027f823 [PERF] autofill: improve command dispatching [Task: 4718202](https://www.odoo.com/odoo/2328/tasks/4718202) Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>