[FIX] stock: propagate owner when generating extra move

This commit is contained in:
Leonardo Pistone 2015-06-04 15:15:50 +02:00 committed by Josse Colpaert
parent c315377d00
commit a3e4a1f39f
1 changed files with 1 additions and 0 deletions

View File

@ -1354,6 +1354,7 @@ class stock_picking(osv.osv):
'product_uom_qty': qty, 'product_uom_qty': qty,
'name': _('Extra Move: ') + name, 'name': _('Extra Move: ') + name,
'state': 'draft', 'state': 'draft',
'restrict_partner_id': op.owner_id,
} }
return res return res