projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DateTime-Helfer: Funktionsnamen in (to|from)_kivitendo umbenannt
[kivitendo-erp.git]
/
SL
/
WH.pm
diff --git
a/SL/WH.pm
b/SL/WH.pm
index
9a06356
..
28e836e
100644
(file)
--- a/
SL/WH.pm
+++ b/
SL/WH.pm
@@
-111,8
+111,7
@@
sub transfer {
);
if ($unit) {
- $qty *= $unit->factor || 1;
- $qty /= $part->unit_obj->factor || 1 if $part->unit;
+ $qty = $unit->convert_to($qty, $part->unit_obj);
}
$params{chargenumber} ||= '';