main #7

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

View File

@@ -1344,7 +1344,7 @@ class Line(metaclass=PoolMeta):
cp = cp[0] cp = cp[0]
price = Decimal(cp.get_last_price()) price = Decimal(cp.get_last_price())
logger.info("PRICE:%s",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]) Concentrate.save([t])
if self.price_components: if self.price_components: