[FIX] stock: typo when selecting inventory on single product

This commit is contained in:
Fekete Mihai
2014-08-06 11:37:22 +02:00
committed by Simon Lejeune
parent 6a83425ba9
commit 87a870ccbd
+1 -1
View File
@@ -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'