Skip to content

Commit

Permalink
Merge PR #588 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Mar 5, 2024
2 parents 3d4b0e7 + 6695470 commit 9da2e50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ def _get_label_qty(self, move_line):

@api.model
def _prepare_data_from_move_line(self, move_line):
qty = self.env.context.get("force_quantity_line", move_line.qty_done)
return {
"product_id": move_line.product_id.id,
"quantity": move_line.qty_done,
"quantity": qty,
"label_qty": self._get_label_qty(move_line),
"move_line_id": move_line.id,
"uom_id": move_line.product_uom_id.id,
Expand Down

0 comments on commit 9da2e50

Please sign in to comment.