projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72539cb
)
Sammelrechnungen waren nicht mehr abspeicherbar,
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 13 Feb 2006 12:32:36 +0000
(12:32 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 13 Feb 2006 12:32:36 +0000
(12:32 +0000)
das hier behebt diesen Bug.
SL/OE.pm
patch
|
blob
|
history
diff --git
a/SL/OE.pm
b/SL/OE.pm
index
fb7153c
..
fab5507
100644
(file)
--- 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})