Auslagern in VK-Rechnung: Löschen der Lagerbewegung beim Löschen/Storno der Rechnung
[kivitendo-erp.git] / bin / mozilla / is.pl
index 0bcd3c3..7e14454 100644 (file)
@@ -782,7 +782,7 @@ sub post {
 
   # If transfer_out is requested, get rose db handle and do post and
   # transfer out in one transaction. Otherwise just post the invoice.
-  if ($::instance_conf->get_is_transfer_out) {
+  if ($::instance_conf->get_is_transfer_out && $form->{type} ne 'credit_note' && !$form->{storno}) {
     require SL::DB::Inventory;
     my $rose_db = SL::DB::Inventory->new->db;
     my $error;