weight and visibility on product are not mandatory anymore

This commit is contained in:
Manuel Raynaud
2014-03-12 16:21:45 +01:00
parent 775160235c
commit d8e1f24fda
3 changed files with 3 additions and 4 deletions

View File

@@ -83,7 +83,6 @@ class ProductCreationForm extends BaseForm
"label_attr" => array("for" => "tax_rule_field")
))
->add("weight", "number", array(
"constraints" => array(new NotBlank()),
"label" => Translator::getInstance()->trans("Weight *"),
"label_attr" => array("for" => "weight_field")
))