DeliveryOrder->new_from: Lieferbedingungen auch berücksichtigen.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 23 Sep 2015 12:16:34 +0000 (14:16 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 23 Sep 2015 12:16:34 +0000 (14:16 +0200)
SL/DB/DeliveryOrder.pm

index b6f1f95..638301b 100644 (file)
@@ -119,7 +119,7 @@ sub new_from {
     $item_parent_column    = 'order';
   }
 
-  my %args = ( map({ ( $_ => $source->$_ ) } qw(cp_id currency_id customer_id cusordnumber department_id employee_id globalproject_id intnotes language_id notes
+  my %args = ( map({ ( $_ => $source->$_ ) } qw(cp_id currency_id customer_id cusordnumber delivery_term_id department_id employee_id globalproject_id intnotes language_id notes
                                                 ordnumber payment_id reqdate salesman_id shippingpoint shipvia taxincluded taxzone_id transaction_description vendor_id
                                              )),
                closed    => 0,