Skip to content

Commit

Permalink
fixup! fixup! fixup! shopfloor_reception: Fix uom computation
Browse files Browse the repository at this point in the history
  • Loading branch information
TDu committed Nov 7, 2023
1 parent 735b676 commit d9f4059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shopfloor_reception/services/reception.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ def _align_display_product_uom_qty(self, line, response):
move_uom = move.product_uom
for move_line in move.move_line_ids - line:
# Use move's uom
other_lines_qty_done += move_uom._compute_quantity(
line_uom = move_line.product_uom_id
other_lines_qty_done += line_uom._compute_quantity(
move_line.qty_done, move_line.product_uom_id, round=False
)
remaining_todo = qty_todo - other_lines_qty_done
Expand Down

0 comments on commit d9f4059

Please sign in to comment.