This commit is contained in:
2026-03-22 19:06:19 +01:00
parent 2fc6fbbd76
commit 234084f073

View File

@@ -1344,7 +1344,7 @@ class Line(metaclass=PoolMeta):
cp = cp[0]
price = Decimal(cp.get_last_price())
logger.info("PRICE:%s",price)
t.manual_price = t.payable_rule.compute_payable_quantity(grade) * price / Decimal(100) - t.penalty_rules.compute_penalty(grade,self.quantity)
t.manual_price = t.payable_rule.compute_payable_quantity(grade) * price / Decimal(100) - t.penalty_rules.compute_penalty(grade)
Concentrate.save([t])
if self.price_components: