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