]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/io.pl
persistente ids für invoice (items)
[mfinanz.git] / bin / mozilla / io.pl
index 68be7e77bd7d4e93da32b6231364be1ca6761249..0b0d7723d249e194cb0e58b626cb2d1d73296398 100644 (file)
@@ -445,6 +445,9 @@ sub display_row {
       push @hidden_vars, qw(invoice_id converted_from_quotation_orderitems_id converted_from_order_orderitems_id
                             converted_from_delivery_order_items_id);
     }
+    if ($::form->{type} =~ /credit_note/) {
+      push @hidden_vars, qw(invoice_id converted_from_invoice_id);
+    }
    if ($is_delivery_order) {
       map { $form->{"${_}_${i}"} = $form->format_amount(\%myconfig, $form->{"${_}_${i}"}) } qw(sellprice discount lastcost);
       push @hidden_vars, grep { defined $form->{"${_}_${i}"} } qw(sellprice discount not_discountable price_factor_id lastcost);