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:
7a8d71b
)
[FIX]Resolved traceback on moving to the previous record from serial numbers in Trace...
author
Dharti Ratani (Open ERP)
<dhr@tinyerp.com>
Fri, 29 Mar 2013 06:29:50 +0000
(11:59 +0530)
committer
Dharti Ratani (Open ERP)
<dhr@tinyerp.com>
Fri, 29 Mar 2013 06:29:50 +0000
(11:59 +0530)
bzr revid: dhr@tinyerp.com-
20130329062950
-02e37dwbtidy5mi7
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
f225837
..
19328fa
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-1426,7
+1426,7
@@
class stock_production_lot(osv.osv):
ids = [ids]
res = {}.fromkeys(ids, 0.0)
- if locations:
+ if locations and ids:
cr.execute('''select
prodlot_id,
sum(qty)