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:
17718a5
)
Unit-Factor kann 0 sein.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 13 Dec 2010 10:35:53 +0000
(11:35 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 27 Oct 2011 15:02:54 +0000
(17:02 +0200)
SL/WH.pm
patch
|
blob
|
history
diff --git
a/SL/WH.pm
b/SL/WH.pm
index
3fbbfa4
..
e983216
100644
(file)
--- a/
SL/WH.pm
+++ b/
SL/WH.pm
@@
-109,7
+109,7
@@
sub transfer {
);
if ($unit) {
- $qty *= $unit->factor;
+ $qty *= $unit->factor
|| 1
;
$qty /= $part->unit_obj->factor || 1 if $part->unit;
}