projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a83425
)
[FIX] stock: typo when selecting inventory on single product
author
Fekete Mihai
<feketemihai@gmail.com>
Wed, 6 Aug 2014 09:36:13 +0000
(11:36 +0200)
committer
Simon Lejeune
<sle@openerp.com>
Wed, 6 Aug 2014 09:37:22 +0000
(11:37 +0200)
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
42dad7d
..
818b3eb
100644
(file)
--- 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'