Angebot / Auftrag (alte Masken) / Lieferschein: nur Mailen, wenn gespeichert
[kivitendo-erp.git] / bin / mozilla / do.pl
index fd4dd2c..fef0940 100644 (file)
@@ -336,6 +336,7 @@ sub setup_do_action_bar {
           t8('E Mail'),
           call   => [ 'kivi.SalesPurchase.show_email_dialog' ],
           checks => [ 'kivi.validate_form' ],
+          disabled => !$::form->{id} ? t8('This record has not been saved yet.') : undef,
         ],
       ], # end of combobox "Export"