Friday, March 17, 2023
2 changes · master
Resolved issues and error corrections
Fixes issues in manufacturing work orders where quantities could fail to refresh in tablet view, timer values could be overstated when multiple employees worked at once, and employee avatars could display incorrectly. This improves accuracy and usability for shop floor teams using work order list and tablet views.
Original PR description
Various bug fixes introduced or noticed in https://github.com/odoo/enterprise/pull/34786 and https://github.com/odoo/odoo/pull/107473 task id : 3216277
Field service tasks now reserve the specific product lots selected by users more accurately when adding items to linked sales orders. This reduces mismatches and delays when the chosen lot is only partially available, helping inventory reservations better reflect real task usage.
Original PR description
Industry fsm can choose a lot to use directly in their task and it will add it to the linked sale order. Before if the lot was not totaly available we reserve another ones and wait the validation before using the right lot. With the stock.move.line code updates, it's easier to set a lot and reserve it. So we adapt the code here to have a reservation that match the more possible the quantities/lot used in the task.