From 87a870ccbd6a0c3e38dc063f498fda435a9e8315 Mon Sep 17 00:00:00 2001 From: Fekete Mihai Date: Wed, 6 Aug 2014 11:36:13 +0200 Subject: [PATCH] [FIX] stock: typo when selecting inventory on single product --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 42dad7d1062..818b3ebe1af 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -2598,7 +2598,7 @@ class stock_inventory(osv.osv): domain += ' and lot_id = %s' args += (inventory.lot_id.id,) if inventory.product_id: - domain += 'and product_id = %s' + domain += ' and product_id = %s' args += (inventory.product_id.id,) if inventory.package_id: domain += ' and package_id = %s'