From: Sven Schöling Date: Mon, 13 Feb 2006 12:32:36 +0000 (+0000) Subject: Sammelrechnungen waren nicht mehr abspeicherbar, X-Git-Tag: release-2.4.0^2~342 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=37df0ebfaa3bfc0214fcfbe2a4f7aa590eddf591;p=kivitendo-erp.git Sammelrechnungen waren nicht mehr abspeicherbar, das hier behebt diesen Bug. --- diff --git a/SL/OE.pm b/SL/OE.pm index fb7153c4f..fab550712 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -755,6 +755,9 @@ sub retrieve { if (@ids); map { delete $ref->{$_} } qw|ordnumber_oe transdate_oe cusordnumber_oe|; + # delete orderitems_id in collective orders, so that they get cloned no matter what + delete $ref->{orderitems_id} if (@ids); + #set expense_accno=inventory_accno if they are different => bilanz $vendor_accno = ($ref->{expense_accno} != $ref->{inventory_accno})