From e86ae696818bec729a175a20af13d4ea08745ac2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 18 Nov 2010 08:58:21 +0100 Subject: [PATCH] fxsellprice auf sellprice setzen --- SL/DB/Helper/PriceTaxCalculator.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/DB/Helper/PriceTaxCalculator.pm b/SL/DB/Helper/PriceTaxCalculator.pm index 1184b6c6b..63dde450a 100644 --- a/SL/DB/Helper/PriceTaxCalculator.pm +++ b/SL/DB/Helper/PriceTaxCalculator.pm @@ -70,6 +70,7 @@ sub _calculate_item { croak("Undefined unit " . $item->unit) if !$item_unit; $item->base_qty($item_unit->convert_to($item->qty, $part_unit)); + $item->fxsellprice($item->sellprice); my $num_dec = _num_decimal_places($item->sellprice); my $discount = _round($item->sellprice * ($item->discount || 0), $num_dec); -- 2.20.1