[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 odoo/odoo#28482
This commit is contained in:
@@ -640,7 +640,7 @@ class Picking(models.Model):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user