projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
398ca93
)
[FIX] internal moves are created in waiting state, should be draft
author
hbrunn@therp.nl
<hbrunn@therp.nl>
Thu, 13 Mar 2014 16:17:59 +0000
(16:17 +0000)
committer
Stefan Rijnhart
<stefan@therp.nl>
Wed, 2 Jul 2014 17:43:43 +0000
(19:43 +0200)
https://launchpad.net/bugs/1250053
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
d960335
..
2c62432
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-866,6
+866,8
@@
class stock_picking(osv.osv):
if all([x.state != 'waiting' for x in pick.move_lines]):
return True
for move in pick.move_lines:
+ if (move.state) == 'waiting':
+ move.check_assign()
if (move.state in ('confirmed', 'draft')) and (mt == 'one'):
return False
if (mt == 'direct') and (move.state == 'assigned') and (move.product_qty):