Tuesday, June 1, 2021
2 changes · master
Resolved issues and error corrections
This update restores reliable communication with connected IoT devices after a recent internal change. Manufacturing work orders and quality picture capture now send device requests in the expected format, helping avoid failed hardware actions on the shop floor.
Original PR description
Fix from the refactor e0eb6cafef8c479573893aee79d2459c41ed48ab Call iot.DeviceProxy instead iot.widgets The format of the data to send to IoT when we make a action call is in JSON not in STR
The timesheet grid now keeps the employee overtime indicator in the correct position after an underlying avatar display change. This preserves the expected layout and avoids visual misalignment for users reviewing timesheets.
Original PR description
Before this commit, the `Many2OneAvatar` widget has recently been changed to add a div in its template. This changes impacted the `TimesheetM2OAvatarEmployee` widget in `timesheet_grid` module because this widget uses `Many2OneAvatar` widget in intern and then the positioning of the elements in the `TimesheetM2OAvatarEmployee` widget has changed. This commit changes the position of the overtime indication we add it in the new div created in the `Many2OneAvatar` to keep the initial behavior and alignment. Related PR: odoo/odoo#67366 Community PR: odoo/odoo#71461