From f1d33e8c42f2da428be80a6909335cf88689c1b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 12 Oct 2018 14:03:24 +0200 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20bei=20"als=20neu=20speich?= =?utf8?q?ern"=20Konfig=20wiederk.=20RGs=20=C3=BCbernehmen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Order.pm | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.20.1