This commit is contained in:
2026-02-14 21:30:28 +01:00
parent e040a4fc11
commit 267e5a3509

View File

@@ -296,10 +296,10 @@ class ValuationBase(ModelSQL):
qty = round(lot.get_current_quantity_converted(), 5) qty = round(lot.get_current_quantity_converted(), 5)
if sf.mode == 'ppack': if sf.mode == 'ppack':
price = sf.price price = sf.price
amount = sf.amount amount = sf.amount * sign
elif sf.mode == 'lumpsum': elif sf.mode == 'lumpsum':
price = sf.price price = sf.price
amount = sf.price amount = sf.price * sign
qty = 1 qty = 1
else: else:
price = Decimal(sf.get_price_per_qt()) price = Decimal(sf.get_price_per_qt())