diff --git a/src/Entity/PriceInformations/Orderdetail.php b/src/Entity/PriceInformations/Orderdetail.php
index ccf0fb1e..150c9dd1 100644
--- a/src/Entity/PriceInformations/Orderdetail.php
+++ b/src/Entity/PriceInformations/Orderdetail.php
@@ -113,6 +113,7 @@ class Orderdetail extends AbstractDBElement implements TimeStampableInterface, N
* @var Supplier
* @ORM\ManyToOne(targetEntity="App\Entity\Parts\Supplier", inversedBy="orderdetails")
* @ORM\JoinColumn(name="id_supplier", referencedColumnName="id")
+ * @Assert\NotNull(message="validator.orderdetail.supplier_must_not_be_null")
*/
protected $supplier;
diff --git a/translations/validators.en.xlf b/translations/validators.en.xlf
index 8ecde9ad..9f81c4d0 100644
--- a/translations/validators.en.xlf
+++ b/translations/validators.en.xlf
@@ -221,5 +221,11 @@
You must select an attachment type!
+
+
+ validator.orderdetail.supplier_must_not_be_null
+ You must select an supplier!
+
+