This commit is contained in:
2026-02-15 15:02:42 +01:00
parent d458e9849d
commit 35c9731a85

View File

@@ -296,7 +296,7 @@ class ValuationBase(ModelSQL):
for sf in cls.group_fees_by_type_supplier(line, fees):
sign = -1 if sf.p_r == 'pay' else 1
qty = round(lot.get_current_quantity_converted(), 5)
if sf.mode == 'ppack':
if sf.mode == 'ppack' or sf.mode == 'rate':
price = sf.price
amount = sf.amount * sign
elif sf.mode == 'lumpsum':