From 37df0ebfaa3bfc0214fcfbe2a4f7aa590eddf591 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 13 Feb 2006 12:32:36 +0000 Subject: [PATCH] Sammelrechnungen waren nicht mehr abspeicherbar, das hier behebt diesen Bug. --- SL/OE.pm | 3 +++ 1 file changed, 3 insertions(+) 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}) -- 2.20.1