Merge lp:~yann-papouin/openobject-addons/6.1-bug-1137541-partial-picking-move-destination into lp:openobject-addons/6.1

Proposed by Yann Papouin
Status: Needs review
Proposed branch: lp:~yann-papouin/openobject-addons/6.1-bug-1137541-partial-picking-move-destination
Merge into: lp:openobject-addons/6.1
Diff against target: 21 lines (+2/-2)
1 file modified
stock/stock.py (+2/-2)
To merge this branch: bzr merge lp:~yann-papouin/openobject-addons/6.1-bug-1137541-partial-picking-move-destination
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+189061@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/stock.py'
2--- stock/stock.py 2013-10-02 13:19:11 +0000
3+++ stock/stock.py 2013-10-03 12:26:56 +0000
4@@ -1268,7 +1268,7 @@
5 'product_uos_qty': product_qty, #TODO: put correct uos_qty
6 'picking_id' : new_picking,
7 'state': 'assigned',
8- 'move_dest_id': False,
9+ 'move_dest_id': move.move_dest_id.id,
10 'price_unit': move.price_unit,
11 'product_uom': product_uoms[move.id]
12 }
13@@ -2572,7 +2572,7 @@
14 'product_uos_qty': product_qty,
15 'picking_id' : move.picking_id.id,
16 'state': 'assigned',
17- 'move_dest_id': False,
18+ 'move_dest_id': move.move_dest_id.id,
19 'price_unit': move.price_unit,
20 }
21 prodlot_id = prodlot_ids[move.id]