Friday, January 17, 2025
3 changes · saas-18.1
Resolved issues and error corrections
This fixes a missed server address handoff in the IoT Box connection check. It helps ensure hardware-related features can correctly verify and use the connected Odoo server without avoidable connection errors.
Original PR description
In odoo/odoo#193082, we introduced a decorator to check if a database is connected to the IoT Box. This decorator also injects the server url into the callee if it expects it. As we missed one injection, this commit fixes it.
This fixes an internal validation issue that could create warning messages when updating unit-of-measure relationships in inventory products. It keeps the intended protection in place while avoiding unnecessary log noise and removes an obsolete check for a deleted field.
Original PR description
Currently the write will check if uom.relative_uom_id != int, which will throw a UserWarning: unsupported operand type(s) for "==": 'uom.uom()' == '8' whenever `relative_uom_id` was written to. Although this error is only show via the log, it's best to not have it at all + we should probably properly enforce the check. Also, remove `category_id` from the `keys_to_protect` since it was deleted anyways. Followup to task: 4252043 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small issue where restaurant preparation displays used the wrong table information. Orders should now show the intended table number, helping staff identify where prepared items need to go.
Original PR description
Fix preparation wrong variable name. `table_name` -> `table.table_number`