]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ic.pl
Recommit von r1160 von skoehler: Bugfix Artikel ließ sich ohne Artikelbeschreibung...
[mfinanz.git] / bin / mozilla / ic.pl
index 62758be3efbdbd2ef29902ba10befc444cf455a1..51be87c0c6173202dc213b59ecba2bf44c725689 100644 (file)
@@ -3064,9 +3064,12 @@ sub update {
 sub save {
   $lxdebug->enter_sub();
 
-  # check if there is a part number
+  # check if there is a part number - commented out, cause there is an automatic allocation of numbers
   # $form->isblank("partnumber", $locale->text(ucfirst $form->{item}." Part Number missing!"));
 
+  # check if there is a description
+  $form->isblank("description", $locale->text("Part Description missing!"));
+
   if ($form->{obsolete}) {
     $form->error(
       $locale->text(