Tuesday, June 4, 2024
7 changes · 17.0
Resolved issues and error corrections
The self-ordering point of sale flow no longer fails when a product option includes an image. Image data is excluded from the data sent for ordering, preventing crashes while keeping the ordering experience stable for customers.
Original PR description
Before this commit, loading an attribute value with an image would cause a TypeError due to the image data being of bytes type, which is not JSON serializable. This commit prevents this error by removing the image data before serialization. opw-3957587 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Graph legends now show their hover tooltips in the correct position again. This prevents confusing misplaced popups when users review charts and reports in Odoo.
Original PR description
Since [1] the legends tooltips are misplaced. A similar issue has been fixed for the main tooltips of the graph view. See [2] Since [3] the Chart.js lib has been updated and the event received by hovering the legend is now wrapped in an object. To access the native event we also need to access the `native` key of that object. [1]: https://github.com/odoo/odoo/commit/c8ca9da7bcee2c122a9d6cf8cda89f02823ba42d [2]: https://github.com/odoo/odoo/commit/c1f08c60b7272e5a30951c53b67427e2f205b722 [3]: https://github.com/odoo/odoo/commit/7e3c1ecdb86110912b15722e600f9571692807ed
Fixed an issue where paid Point of Sale orders could trigger an error after a product’s lot tracking was disabled. This helps staff continue reviewing and sorting past paid orders without interruption when product tracking settings change.
Original PR description
Before this commit, an error occurred in the following scenario: - Open Point of Sale and sell a product with lot tracking - Close/Post the Point of Sale session - Open the product record and disable tracking in the inventory tab - Start a new session, click on Orders and sort for Paid orders opw-3921893 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix keeps a company car's current or future driver aligned with the contact linked to the employee record. It helps prevent mismatched driver information in fleet management and improves data consistency for HR and vehicle assignments.
Original PR description
In this Pr, the driver or the future driver of the car is in sync with the partner of the employee Task-3693838
Expense payment registration now also considers the bank accounts linked to the employee's contact record. This helps ensure reimbursements are sent to the correct employee bank account instead of falling back to an unrelated company account.
Original PR description
In 1ed71ba a fix was added to use the employee's bank account in the payment wizard for an expense paid to the employee as it was the company's account before. What we forgot was to also add the bank accounts of the contact of that employee. This commit handles this. task-3945793
Float factor fields now respect the user’s local decimal separator, so values using a comma can be entered correctly. This prevents valid localized numbers from being rejected or saved incorrectly, improving usability for regions that use comma decimals.
Original PR description
Issue: ------ In the input of a float factor field, it is not possible to use the ‘,’ as a decimal point, even if this is defined in the localization. This is because the value is calculated via: ```js let factorValue = value / this.props.factor; ``` does not work with `value = ‘x,y’` and will return `NaN`. Solution: --------- Parser the value by calling super to fallback on `parseFloat` which takes localization into account. opw-3932813
This update fixes the informational message displayed in the CodaBox SODA import wizard for Belgian accounting users. The message text has been updated to match the latest version, ensuring users see the correct and most current guidance when importing bank statements through the CodaBox integration.
Original PR description
Backport codabox soda wizard info text from 17.1