15.02.26
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user