diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 7c47f757198..32753fb18ea 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -913,7 +913,8 @@ class stock_picking(models.Model): location_dest_id = picking_type.default_location_dest_id.id res['value'] = {'location_id': location_id, - 'location_dest_id': location_dest_id,} + 'location_dest_id': location_dest_id, + 'picking_type_code': picking_type.code,} return res def _default_location_destination(self):