diff --git a/shopfloor_reception/services/reception.py b/shopfloor_reception/services/reception.py index 03a22f66928..97135207a95 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 ) - response["data"]["set_quantity"]["selected_move_line"][0][ - "quantity" - ] = line_todo + # If more has been done keep the quantity to zero + response["data"]["set_quantity"]["selected_move_line"][0]["quantity"] = max( + line_todo, 0 + ) return response def _response_for_set_quantity(