projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master', remote branch 'origin'
[kivitendo-erp.git]
/
SL
/
WH.pm
diff --git
a/SL/WH.pm
b/SL/WH.pm
index
cc53427
..
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} ||= '';
@@
-1023,6
+1022,8
@@
An expiration date. Note that this is not by default used by C<warehouse_report>
=head1 BUGS
+None yet.
+
=head1 AUTHOR
=cut