public function newAction()
    {
        $stocktransfer = new StockTransfer();

        $nextCode = $this->get('flower.stock.service.stock_transfer')->getNextCode();
        $stocktransfer->setCode($nextCode);
        $stocktransfer->setUser($this->getUser());

        $form = $this->createForm(new StockTransferType(), $stocktransfer);

        return array(
            'stocktransfer' => $stocktransfer,
            'form' => $form->createView(),
        );
    }