openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #01857
[Merge] lp:~therp-nl/ocb-addons/lp1250053 into lp:ocb-addons
Holger Brunn (Therp) has proposed merging lp:~therp-nl/ocb-addons/lp1250053 into lp:ocb-addons.
Requested reviews:
OpenERP Community Backports Team (ocb)
Related bugs:
Bug #1250053 in OpenERP Addons: "Internal stock move stuck at waiting for another move "
https://bugs.launchpad.net/openobject-addons/+bug/1250053
For more details, see:
https://code.launchpad.net/~therp-nl/ocb-addons/lp1250053/+merge/197404
--
https://code.launchpad.net/~therp-nl/ocb-addons/lp1250053/+merge/197404
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~therp-nl/ocb-addons/lp1250053 into lp:ocb-addons.
=== modified file 'stock/stock.py'
--- stock/stock.py 2013-11-21 15:32:30 +0000
+++ stock/stock.py 2013-12-02 15:26:24 +0000
@@ -863,6 +863,8 @@
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):
Follow ups