main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 267e5a3509 - Show all commits

View File

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