diff options
| author | Josse Colpaert <jco@odoo.com> | 2014-12-11 00:09:05 +0100 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2014-12-11 00:25:23 +0100 |
| commit | 8a26a88033891c4f8ba5e7469df722ed766022b2 (patch) | |
| tree | 9f5bd824dcc973254374cc8b30abedb81380c5a7 /addons | |
| parent | e1cde4d0383124c0636c518185f2222055afa3b5 (diff) | |
[FIX] When all_op_processed False it should still create the links #4149
Fixes #4149
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock/stock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 9e57c04b7e0..5044339061a 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1271,7 +1271,7 @@ class stock_picking(osv.osv): #2) then, process the remaining part all_op_processed = True for ops, product_id, remaining_qty in still_to_do: - all_op_processed = all_op_processed and _create_link_for_product(ops.id, product_id, remaining_qty) + all_op_processed = _create_link_for_product(ops.id, product_id, remaining_qty) and all_op_processed return (need_rereserve, all_op_processed) def picking_recompute_remaining_quantities(self, cr, uid, picking, context=None): |
