diff --git a/shopfloor_manual_product_transfer_mobile/static/wms/src/scenario/manual_product_transfer.js b/shopfloor_manual_product_transfer_mobile/static/wms/src/scenario/manual_product_transfer.js index a7c504dea8..0354aa5145 100644 --- a/shopfloor_manual_product_transfer_mobile/static/wms/src/scenario/manual_product_transfer.js +++ b/shopfloor_manual_product_transfer_mobile/static/wms/src/scenario/manual_product_transfer.js @@ -163,6 +163,9 @@ const ManualProductTransfer = { } if ("qty_done" in data) return data.qty_done; if ("quantity" in data) return data.quantity; + if ("move_lines" in data) { + return data.move_lines.reduce((total, val) => total + val.qty_done, 0); + } return 0; }, lot: function () {