← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

Yann Papouin has proposed merging lp:~yann-papouin/ocb-addons/6.1-bug-1137541-partial-picking-move-destination into lp:ocb-addons/6.1.

Requested reviews:
  OpenERP Community Backports Team (ocb)
Related bugs:
  Bug #1137541 in OpenERP Community Backports (Addons): "[6.1][7.0][trunk][stock] Move destination and partial picking"
  https://bugs.launchpad.net/ocb-addons/+bug/1137541

For more details, see:
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-1137541-partial-picking-move-destination/+merge/189072

Automatically derived from https://code.launchpad.net/~yann-papouin/openobject-addons/6.1-bug-1137541-partial-picking-move-destination for https://code.launchpad.net/~openerp/openobject-addons/6.1.
-- 
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-1137541-partial-picking-move-destination/+merge/189072
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~yann-papouin/ocb-addons/6.1-bug-1137541-partial-picking-move-destination into lp:ocb-addons/6.1.
=== modified file 'stock/stock.py'
--- stock/stock.py	2013-06-10 15:05:56 +0000
+++ stock/stock.py	2013-10-03 13:24:59 +0000
@@ -1268,7 +1268,7 @@
                             'product_uos_qty': product_qty, #TODO: put correct uos_qty
                             'picking_id' : new_picking,
                             'state': 'assigned',
-                            'move_dest_id': False,
+                            'move_dest_id': move.move_dest_id.id,
                             'price_unit': move.price_unit,
                             'product_uom': product_uoms[move.id]
                     }
@@ -2569,7 +2569,7 @@
                             'product_uos_qty': product_qty,
                             'picking_id' : move.picking_id.id,
                             'state': 'assigned',
-                            'move_dest_id': False,
+                            'move_dest_id': move.move_dest_id.id,
                             'price_unit': move.price_unit,
                             }
                 prodlot_id = prodlot_ids[move.id]


Follow ups