public function configureFormFields(FormMapper $formMapper)
{
if (!$this->isChild()) {
$formMapper->add('product', 'sonata_type_model_list', array(), array('admin_code' => 'sonata.product.admin.product'));
}
$formMapper->add('enabled')->add('code', 'sonata_delivery_choice')->add('perItem')->add('countryCode', 'country')->add('zone');
}