odoo/odoo — pull request #3376 by alhashash (2014-10-29 20:28:56+00:00)
Title: Add sale_id to stock.picking.in and purchase_id to stock.picking.out

Return pickings created via return wizard already contain the sale_id/purchase_id field in the database record but it is not included in the stock.picking.out/in virtual models.

Adding these fields allows searching or showing these fields.