projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hotfix: Erzeugnis fertigen braucht in der alten Version keine Dienstleistung
[kivitendo-erp.git]
/
SL
/
Helper
/
Inventory.pm
diff --git
a/SL/Helper/Inventory.pm
b/SL/Helper/Inventory.pm
index
e249bf5
..
c6830af
100644
(file)
--- a/
SL/Helper/Inventory.pm
+++ b/
SL/Helper/Inventory.pm
@@
-222,6
+222,7
@@
sub allocate_for_assembly {
my %parts_to_allocate;
for my $assembly ($part->assemblies) {
+ next if $assembly->part->type eq 'service' && 1;
$parts_to_allocate{ $assembly->part->id } //= 0;
$parts_to_allocate{ $assembly->part->id } += $assembly->qty * $qty;
}