diff --git a/shopfloor_reception/services/reception.py b/shopfloor_reception/services/reception.py index 03a22f66928..d245e93aa11 100644 --- a/shopfloor_reception/services/reception.py +++ b/shopfloor_reception/services/reception.py @@ -775,9 +775,10 @@ def _align_display_product_uom_qty(self, line, response): line_todo = line.product_uom_id._compute_quantity( remaining_todo, move_uom, round=False ) + # If more has been done keep the quantity to zero response["data"]["set_quantity"]["selected_move_line"][0][ "quantity" - ] = line_todo + ] = max(line_todo, 0) return response def _response_for_set_quantity(