Update stock.lib.php

Adding select_entrepot function