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:
07ca0ea
)
[Fix] stock: Small bug
author
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 31 Aug 2010 09:37:34 +0000
(15:07 +0530)
committer
sbh (Open ERP)
<sbh@tinyerp.com>
Tue, 31 Aug 2010 09:37:34 +0000
(15:07 +0530)
bzr revid: sbh@tinyerp.com-
20100831093734
-ysx0pag5at0qccvf
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
b2af443
..
43621e5
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-1698,7
+1698,7
@@
class stock_move(osv.osv):
#the test does not work correctly if the same product occurs multiple times
#in the same order. This is e.g. the case when using the button 'split in two' of
#the stock outgoing form
- self.write(cr, uid, move.id, {'state':'assigned'})
+ self.write(cr, uid, [move.id], {'state':'assigned'})
done.append(move.id)
pickings[move.picking_id.id] = 1
r = res.pop(0)