This commit is contained in:
lreficent
2017-11-16 18:39:22 +01:00
parent 9170418186
commit a7c850e27d

View File

@@ -15,7 +15,7 @@ class StockMove(models.Model):
def _get_reserved_locations(self):
self.ensure_one()
return self.reserved_quant_ids.mapped('location_id') + \
self.split_from.reserved_quant_ids.mapped('location_id')
self.split_from.reserved_quant_ids.mapped('location_id')
@api.constrains('location_dest_id', 'location_id', 'state')
def _check_locked_location(self):