Skip to content

Commit

Permalink
Merge PR #776 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by sebalix
  • Loading branch information
OCA-git-bot committed Nov 13, 2023
2 parents 8d2196f + b828bbd commit f28d3ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shopfloor/services/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,10 @@ def no_package(self, picking_id, selected_line_ids):
if message:
return self._response_for_select_document(message=message)
selected_lines = self.env["stock.move.line"].browse(selected_line_ids).exists()
selected_lines.write(
selected_lines_with_qty_done = selected_lines.filtered(
lambda line: line.qty_done > 0
)
selected_lines_with_qty_done.write(
{"shopfloor_checkout_done": True, "result_package_id": False}
)
response = self._check_allowed_qty_done(picking, selected_lines)
Expand Down

0 comments on commit f28d3ec

Please sign in to comment.