Permalink
Browse files

[FIX] stock: use self instead of picking

In the compute function _compute_move_without_package, we use self
instead of picking variable, which leads to traceback when more than one
picking is computed

closes #28482
  • Loading branch information...
pimodoo committed Nov 7, 2018
1 parent c99a6d2 commit ba18cf7fdc8712e2f5c85869a87bd5e991db3a40
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/stock/models/stock_picking.py
@@ -640,7 +640,7 @@ def _compute_move_without_package(self):
move_ids_without_package |= move
else:
move_ids_without_package |= move
self.move_ids_without_package = move_ids_without_package
picking.move_ids_without_package = move_ids_without_package
def _set_move_without_package(self):
self.move_lines |= self.move_ids_without_package

0 comments on commit ba18cf7

Please sign in to comment.