diff --git a/addons/stock/wizard/stock_inventory_adjustment_name.py b/addons/stock/wizard/stock_inventory_adjustment_name.py index 099fd930c84..54ea339167e 100644 --- a/addons/stock/wizard/stock_inventory_adjustment_name.py +++ b/addons/stock/wizard/stock_inventory_adjustment_name.py @@ -21,4 +21,4 @@ class StockInventoryAdjustmentName(models.TransientModel): def action_apply(self): quants = self.quant_ids.filtered('inventory_quantity_set') - quants.with_context(inventory_name=self.inventory_adjustment_name).action_apply_inventory() + return quants.with_context(inventory_name=self.inventory_adjustment_name).action_apply_inventory()