From: Bernd Bleßmann Date: Fri, 12 Oct 2018 12:03:24 +0000 (+0200) Subject: Auftrags-Controller: bei "als neu speichern" Konfig wiederk. RGs übernehmen X-Git-Tag: release-3.5.4~256 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f1d33e8c42f2da428be80a6909335cf88689c1b3;p=kivitendo-erp.git Auftrags-Controller: bei "als neu speichern" Konfig wiederk. RGs übernehmen --- diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 978d128bb..3b50272ee 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -259,6 +259,9 @@ sub new_from { if ( $is_abbr_any->(qw(poso)) ) { $args{vendor_id} = undef; } + if ( $is_abbr_any->(qw(soso)) ) { + $args{periodic_invoices_config} = $source->periodic_invoices_config->clone_and_reset if $source->periodic_invoices_config; + } # Custom shipto addresses (the ones specific to the sales/purchase # record and not to the customer/vendor) are only linked from