diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 42dad7d1062b4877942bdd2d2bfb06e66b94bb31..818b3ebe1afe1bc4952c978751e87eb8dde0d2d9 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'