From a7c850e27d2e24130e293b561d3bb8d5bdd51969 Mon Sep 17 00:00:00 2001 From: lreficent Date: Thu, 16 Nov 2017 18:39:22 +0100 Subject: [PATCH] travis --- stock_inventory_lockdown/models/stock_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_inventory_lockdown/models/stock_move.py b/stock_inventory_lockdown/models/stock_move.py index 46876213c..e84875239 100644 --- a/stock_inventory_lockdown/models/stock_move.py +++ b/stock_inventory_lockdown/models/stock_move.py @@ -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):