Thursday, August 1, 2024
12 changes · 17.0
Resolved issues and error corrections
This fix prevents the hardware drivers component from crashing when no devices are available during device filtering. It improves reliability for users working with connected hardware by handling empty device lists safely.
Original PR description
Filtering devices by name fails if `devices_list` is empty. Type check on devices should prevent from trying to get the value of `name` on a string. PR being fixed: [https://github.com/odoo/odoo/pull/175277](https://github.com/odoo/odoo/pull/175277)
Odoo now handles serial device checks differently on Windows and Linux IoT systems. This prevents false scale detections while avoiding errors caused by Windows missing a device detail available on Linux.
Original PR description
We filter `amba` subystem on serial devices to avoid having a fake scale being detected by Odoo. Problem was that Windows serial Python package does not have a subsystem attribute: we are now making the distinction between Linux and Windows IoT.
Archived tasks now show their archive badge and status selector correctly in the mobile shared project view. This avoids confusion for portal users viewing shared project tasks on smaller screens.
Original PR description
Steps: - Install project. - Create a project and share that project. - Create a task and archive that task - Open project sharing view in mobile device. - Open that archive task. Issue: - State selection and archive badge is not displaying property in project sharing task form view. Cause: - Issue about this display was fix in backend but forgot to fix that in frontend, Fix: - Fix aligment issue by making state field display differently when task is archive in mobile like we did in backend similer to this pr https://github.com/odoo/odoo/pull/125532 task-3690532
When a recurring preventive maintenance request is completed, the next automatically created request now starts at the beginning of the workflow instead of inheriting the completed stage. This helps teams avoid newly generated maintenance work appearing as already done.
Original PR description
Steps to reproduce the bug: - Create a maintenance request: - repeat_type: forever, - Maintenance Type: preventive, - recurring_maintenance: True, - Move this request to the 'done' stage. Problem: A new maintenance request is duplicated but with the same last stage of this maintenance request opw-4060845
This fixes an internal setup shortcut used when preparing Point of Sale box images. The change helps the installation process run correctly in environments where the previous command could fail, reducing setup issues for deployments.
Original PR description
`install` alias could not mount `/proc` as it was performed using 'sudo', which is unavailable as root is `/root_bypass_ramdisks` at this time.
The accounting screens now show the invoice date by default when fiduciary mode is enabled. This helps fiduciary users review account move lines with the date information they need, while keeping the column hidden by default in other cases.
Original PR description
Description of the issue this commit addresses: In fidu mode, the invoice_date column on account move lines is hidden. This is not wanted. --- Desired behavior after this commit is merged: aml views have the invoice_date column hidden by default in most cases but it is shown by default when fiduciary mode is enabled. --- no task-feedback --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale now prevents pricelists using a different currency from the POS configuration. This avoids unsupported pricing setups that could lead to incorrect or confusing sales prices at checkout.
Original PR description
Before this commit, it was possible to add a pricelist in a different currency than the config currency, which is not supported. opw-4073993 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The IoT driver will no longer send the fallback remote customer display entry to the database when no physical display is connected. This prevents users from seeing or selecting a confusing internal option that is only meant to support displays on another computer.
Original PR description
We use a "distant_display" if no display is connected to the IoT, in order to use the customer display on another computer. We don't need to send it to the database though, as it could confuse users. Task: 4061443
In this commit: ================ Change the table translation from "TABLEAU" to "TABLE" when the user clicks on "Edit Plan" and tries to add a table. task-4017059
Original PR description
In this commit: ================ Change the table translation from "TABLEAU" to "TABLE" when the user clicks on "Edit Plan" and tries to add a table. task-4017059
A website form editor issue has been fixed so clicking the new button no longer gets stuck before redirecting. The dialog now completes properly whatever the user chooses, making the editing flow more reliable.
Original PR description
Commit [1] replaced the dialogs from legacy to OWL ones, but also created a deadlock by not resolving the promise set by the dialog. This commit fixes that by properly resolving the promise regardless of the user's answer. [1]: https://github.com/odoo/odoo/commit/00c9a7919768df71e79b5d34e21064729443c5fe
Fixed an issue where the message prompting users to buy extra credits was displaying as raw HTML code instead of a properly formatted message with a clickable link. This improves the user experience by ensuring the message appears clean and professional in the system.
Original PR description
The message to buy extra credits is escaped and instead of displaying the message with a link it displays the message with a html and a url, not very human user like. We have to unescape the < and > symbols so that the frontend can properly display the message Ticket [link](https://www.odoo.com/web#model=project.task&id=3864033) opw-3864033 Forward-Port-Of: odoo/enterprise#63364
This update fixes a test in the Field Service Sales module by ensuring the pricing list is properly activated before creating a sales order. This resolves a test failure and ensures the system correctly links pricing information to sales orders during testing.
Original PR description
Fixed `test_industry_fsm_at_install` by activating the pricelist before creating the sale order to ensure a proper link. task-4070526