← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~yann-papouin/ocb-addons/7.0-bug-1137541-partial-picking-move-destination into lp:ocb-addons

 

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

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/7.0-bug-1137541-partial-picking-move-destination/+merge/210155

Automatically derived from https://code.launchpad.net/~yann-papouin/openobject-addons/7.0-bug-1137541-partial-picking-move-destination for https://code.launchpad.net/~openerp/openobject-addons/7.0.
-- 
https://code.launchpad.net/~yann-papouin/ocb-addons/7.0-bug-1137541-partial-picking-move-destination/+merge/210155
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~yann-papouin/ocb-addons/7.0-bug-1137541-partial-picking-move-destination into lp:ocb-addons.
=== modified file 'stock/stock.py'
--- stock/stock.py	2014-03-04 13:08:40 +0000
+++ stock/stock.py	2014-03-10 09:25:34 +0000
@@ -1341,7 +1341,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]
                     }
@@ -2782,7 +2782,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