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:
5e8b61f
)
[FIX] stock: it creates wrong stock moves while filling inventory for any product...
author
Rifakat
<rha@tinyerp.com>
Thu, 5 Jul 2012 08:05:40 +0000
(13:35 +0530)
committer
Rifakat
<rha@tinyerp.com>
Thu, 5 Jul 2012 08:05:40 +0000
(13:35 +0530)
lp bug: https://launchpad.net/bugs/1008099 fixed
bzr revid: rha@tinyerp.com-
20120705080540
-txyw2y0zsmwrlgli
addons/stock/product.py
patch
|
blob
|
history
diff --git
a/addons/stock/product.py
b/addons/stock/product.py
index
b162e94
..
81d136d
100644
(file)
--- a/
addons/stock/product.py
+++ b/
addons/stock/product.py
@@
-261,6
+261,8
@@
class product_product(osv.osv):
if prodlot_id:
prodlot_clause = ' and prodlot_id = %s '
where += [prodlot_id]
+ elif 'prodlot_id' in context and not prodlot_id:
+ prodlot_clause = 'and prodlot_id is null '
# TODO: perhaps merge in one query.
if 'in' in what: